---
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
target: nightly
tags: nightly
- name: Prepare Release Dockerfile
image: alpine
commands:
- apk update && apk add bash curl grep jq sed
- ./build.sh
- name: Build & Publish Release Image
trigger:
branch:
- master