---
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
target: nightly
tags: nightly
- name: Prepare Release Dockerfile
- ./build.sh
- name: Build & Publish Release Image
trigger:
branch:
- master