ansible-deployment-container/.drone.yml
Simon Cornet 27294828e5
Some checks failed
continuous-integration/drone/push Build is failing
[AnsibleLint] Upgraded Ansible lint to version 6.14.2
2023-03-22 16:10:23 +01:00

34 lines
582 B
YAML

---
kind: 'pipeline'
name: 'build'
type: 'kubernetes'
steps:
# build and publish
- image: 'plugins/docker'
name: 'publish'
pull: 'always'
network_mode: 'host'
settings:
# registery and repos
registry: 'docker.io'
cache_from: 'rakepanorama/ansible-deployment'
repo: 'rakepanorama/ansible-deployment'
# build stuff
dockerfile: 'Dockerfile.linux.amd64'
daemon_off: 'true'
# authentication
username:
from_secret: 'docker_username'
password:
from_secret: 'docker_password'
# tags
tags:
- 'latest'
- 'v17'