2022-03-15 14:32:56 +01:00
|
|
|
---
|
|
|
|
kind: 'pipeline'
|
|
|
|
name: 'build'
|
2022-10-07 11:38:52 +02:00
|
|
|
type: 'kubernetes'
|
2022-03-15 14:32:56 +01:00
|
|
|
|
|
|
|
steps:
|
|
|
|
|
2022-03-15 14:46:14 +01:00
|
|
|
# build and publish
|
2022-10-07 13:11:16 +02:00
|
|
|
- image: 'plugins/docker'
|
2022-03-15 14:32:56 +01:00
|
|
|
name: 'publish'
|
|
|
|
pull: 'always'
|
2022-10-07 13:11:16 +02:00
|
|
|
settings:
|
2022-10-07 12:53:51 +02:00
|
|
|
|
2022-10-07 13:11:16 +02:00
|
|
|
# registery and repos
|
|
|
|
registry: 'docker.io'
|
|
|
|
cache_from: 'rakepanorama/ansible-deployment'
|
|
|
|
repo: 'rakepanorama/ansible-deployment'
|
2022-10-07 13:31:51 +02:00
|
|
|
custom_dns: '10.43.0.10'
|
2022-10-07 13:11:16 +02:00
|
|
|
build_args: '--network host'
|
2022-10-07 13:34:37 +02:00
|
|
|
bip: true
|
2022-10-07 13:11:16 +02:00
|
|
|
debug: true
|
|
|
|
|
|
|
|
# build stuff
|
|
|
|
dockerfile: 'Dockerfile.linux.amd64'
|
|
|
|
daemon_off: 'false'
|
|
|
|
|
|
|
|
# authentication
|
|
|
|
username:
|
2022-03-15 14:32:56 +01:00
|
|
|
from_secret: 'docker_username'
|
2022-10-07 13:11:16 +02:00
|
|
|
password:
|
2022-03-15 14:37:35 +01:00
|
|
|
from_secret: 'docker_password'
|
2022-03-15 15:44:41 +01:00
|
|
|
|
2022-10-07 13:11:16 +02:00
|
|
|
# tags
|
|
|
|
tags:
|
|
|
|
- 'v0.9'
|
|
|
|
- 'latest'
|