ansible-deployment-container/.drone.yaml
Simon Cornet 6e086b70f6
Some checks failed
continuous-integration/drone/push Build is failing
[CI] Lower MTU to 1400
2023-12-24 13:53:06 +01:00

38 lines
630 B
YAML

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