2022-03-15 14:32:56 +01:00
|
|
|
---
|
|
|
|
kind: 'pipeline'
|
|
|
|
name: 'build'
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- image: 'plugins/docker'
|
|
|
|
name: 'dryrun'
|
|
|
|
pull: 'always'
|
|
|
|
settings:
|
|
|
|
cache_from: 'rakepanorama/ansible-deployment'
|
|
|
|
daemon_off: 'false'
|
|
|
|
dockerfile: 'Dockerfile.linux.amd64'
|
|
|
|
dry_run: 'true'
|
|
|
|
repo: 'docker.io/rakepanorama/ansible-deployment'
|
|
|
|
tags:
|
|
|
|
- 'latest'
|
|
|
|
- 'v0.3'
|
|
|
|
|
|
|
|
- image: 'plugins/docker'
|
|
|
|
name: 'publish'
|
|
|
|
pull: 'always'
|
|
|
|
settings:
|
|
|
|
auto_tag: 'true'
|
|
|
|
auto_tag_suffix: 'linux-amd64'
|
|
|
|
cache_from: 'rakepanorama/ansible-deployment'
|
|
|
|
daemon_off: 'false'
|
|
|
|
dockerfile: 'Dockerfile.linux.amd64'
|
|
|
|
repo: 'rakepanorama/ansible-deployment'
|
|
|
|
username:
|
|
|
|
from_secret: 'docker_username'
|
2022-03-15 14:37:35 +01:00
|
|
|
password:
|
|
|
|
from_secret: 'docker_password'
|