forked from fbrinker/docker-tileboard-OUTDATED
Add nightly build steps
* TODO: Do not run nightly builds, if no changes in `master` branch.
This commit is contained in:
parent
c3ea302ced
commit
cfd81ff5bd
29
.drone.yml
29
.drone.yml
@ -4,13 +4,38 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build Dockerfile
|
|
||||||
|
- name: Build & Publish Development Image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: fbrinker/tileboard
|
||||||
|
dockerfile: Dockerfile.nightly
|
||||||
|
target: dev
|
||||||
|
tags: dev
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
|
||||||
|
- name: Build & Publish Nightly Image
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: fbrinker/tileboard
|
||||||
|
dockerfile: Dockerfile.nightly
|
||||||
|
target: nightly
|
||||||
|
tags: nightly
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
|
||||||
|
- name: Prepare Release Dockerfile
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- apk update && apk add bash curl grep jq sed
|
- apk update && apk add bash curl grep jq sed
|
||||||
- ./build.sh
|
- ./build.sh
|
||||||
|
|
||||||
- name: Build & Publish Image
|
- name: Build & Publish Release Image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: fbrinker/tileboard
|
repo: fbrinker/tileboard
|
||||||
|
Reference in New Issue
Block a user