ansible-deployment-container/.drone.yml

37 lines
666 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 11:51:29 +02:00
privileged: true
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'
custom_dns: '192.168.10.254'
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'