feature: nightly and dev images #5
43
.drone.yml
43
.drone.yml
@ -1,10 +1,35 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: production
|
||||
name: Production
|
||||
|
||||
steps:
|
||||
- name: Build Dockerfile
|
||||
image: alpine
|
||||
commands:
|
||||
- apk update && apk add bash curl grep jq sed
|
||||
- ./build.sh
|
||||
|
||||
- name: Build & Publish Image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: fbrinker/tileboard
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Development
|
||||
|
||||
steps:
|
||||
- name: Check for changes in master branch
|
||||
image: alpine
|
||||
commands:
|
||||
@ -35,22 +60,6 @@ steps:
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
- name: Prepare Release Dockerfile
|
||||
image: alpine
|
||||
commands:
|
||||
- apk update && apk add bash curl grep jq sed
|
||||
- ./build.sh
|
||||
|
||||
- name: Build & Publish Release Image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: fbrinker/tileboard
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
Referencia en una nueva incidencia
Block a user