2022-03-15 14:32:56 +01:00
|
|
|
---
|
|
|
|
kind: 'pipeline'
|
|
|
|
name: 'build'
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
2022-03-15 14:46:14 +01:00
|
|
|
# build and publish
|
2022-03-15 14:32:56 +01:00
|
|
|
- image: 'plugins/docker'
|
|
|
|
name: 'publish'
|
|
|
|
pull: 'always'
|
|
|
|
settings:
|
|
|
|
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'
|
2022-03-15 14:46:14 +01:00
|
|
|
tags:
|
|
|
|
- 'latest'
|
|
|
|
- 'v0.3'
|