2022-03-15 14:32:56 +01:00
|
|
|
---
|
|
|
|
kind: 'pipeline'
|
|
|
|
name: 'build'
|
2022-10-24 11:21:41 +02:00
|
|
|
type: 'docker'
|
2022-03-15 14:32:56 +01:00
|
|
|
|
|
|
|
steps:
|
|
|
|
|
2022-10-07 14:31:01 +02:00
|
|
|
# build and publish
|
2022-11-22 12:34:54 +01:00
|
|
|
- image: 'plugins/docker'
|
2022-10-07 14:31:01 +02:00
|
|
|
name: 'publish'
|
|
|
|
pull: 'always'
|
|
|
|
settings:
|
2022-10-07 12:53:51 +02:00
|
|
|
|
2022-10-07 14:31:01 +02:00
|
|
|
# registery and repos
|
2022-12-05 06:25:08 +01:00
|
|
|
registry: 'docker.io'
|
2022-10-07 14:31:01 +02:00
|
|
|
cache_from: 'rakepanorama/ansible-deployment'
|
|
|
|
repo: 'rakepanorama/ansible-deployment'
|
2022-10-07 14:01:55 +02:00
|
|
|
|
2022-10-07 14:31:01 +02:00
|
|
|
# build stuff
|
|
|
|
dockerfile: 'Dockerfile.linux.amd64'
|
|
|
|
daemon_off: 'false'
|
2022-10-07 14:06:29 +02:00
|
|
|
|
2022-10-07 14:31:01 +02:00
|
|
|
# authentication
|
|
|
|
username:
|
|
|
|
from_secret: 'docker_username'
|
|
|
|
password:
|
|
|
|
from_secret: 'docker_password'
|
|
|
|
|
|
|
|
# tags
|
|
|
|
tags:
|
2023-01-04 09:53:54 +01:00
|
|
|
- 'v0.13'
|
2022-10-07 14:31:01 +02:00
|
|
|
- 'latest'
|