ansible-deployment-container/.drone.yml

36 lines
640 B
YAML
Raw Normal View History

2022-03-15 14:32:56 +01:00
---
kind: 'pipeline'
name: 'build'
type: 'kubernetes'
2022-03-15 14:32:56 +01:00
steps:
# 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:35:30 +02:00
custom_dns: '8.8.8.8'
2022-10-07 13:11:16 +02:00
build_args: '--network host'
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'