feature: nightly and dev images #5
43
.drone.yml
43
.drone.yml
@ -1,10 +1,35 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: production
|
name: Production
|
||||||
|
|
||||||
steps:
|
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
|
- name: Check for changes in master branch
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
@ -35,22 +60,6 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: docker_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:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
Referencia en una nueva incidencia
Block a user