This repository has been archived on 2021-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
fbrinker-tileboard/.drone.yml
akloeckner cfd81ff5bd Add nightly build steps
* TODO: Do not run nightly builds, if no changes in `master` branch.
2021-05-10 09:20:25 +00:00

49 lines
963 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- 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
commands:
- apk update && apk add bash curl grep jq sed
- ./build.sh
- name: Build & Publish Release Image
image: plugins/docker
settings:
repo: fbrinker/tileboard
username:
from_secret: docker_username
password:
from_secret: docker_password
trigger:
branch:
- master