ansible-deployment-container/.drone.yml
Simon Cornet 4f63bf05dd
All checks were successful
continuous-integration/drone/push Build is passing
[AnsibleLint] Upgraded Ansible lint to version 6.14.2
2023-03-22 16:15:50 +01:00

34 lines
576 B
YAML

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