fbrinker/docker-tileboard-OUTDATED
Архивировано
1
1
This repository has been archived on 2021-05-10. You can view files and clone it, but cannot push or open issues or pull requests.
docker-tileboard-OUTDATED/.drone.yml
akloeckner 0c95977e66 Add check for master changes
This can abort the whole pipeline, because releases also show up as a commit.
2021-05-10 09:35:10 +00:00

55 строки
1.1 KiB
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: Check for changes in master branch
image: alpine
commands:
- apk update && apk add bash curl grep jq sed
- ./check-master-for-changes.sh
- 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