ansible-deployment-container/.drone.yml
Simon Cornet a031db5d33
All checks were successful
continuous-integration/drone/push Build is passing
[GLOBAL] Updated Alpine to 3.18, ansible-core to 2.13.11 and yamllint to 1.32.0
2023-07-26 12:34:22 +02:00

34 lines
588 B
YAML

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