ansible-deployment-container/.drone.yml
Simon Cornet edd5186b6f
Some checks failed
continuous-integration/drone/push Build is failing
[CI] CI try something
2022-10-07 11:46:16 +02:00

33 lines
564 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'
# build stuff
dockerfile: 'Dockerfile.linux.amd64'
daemon_off: 'true'
# authentication
username:
from_secret: 'docker_username'
password:
from_secret: 'docker_password'
# tags
tags:
- 'v0.9'
- 'latest'