ansible-deployment-container/.drone.yml
Simon Cornet 9af2f8ec4d
Some checks reported errors
continuous-integration/drone/push Build encountered an error
[DRONE] Rewrite build and publish CI
2022-10-07 13:11:16 +02:00

37 lines
666 B
YAML

---
kind: 'pipeline'
name: 'build'
type: 'kubernetes'
steps:
# build and publish
- image: 'plugins/docker'
name: 'publish'
pull: 'always'
privileged: true
settings:
# 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:
from_secret: 'docker_username'
password:
from_secret: 'docker_password'
# tags
tags:
- 'v0.9'
- 'latest'