ansible-deployment-container/.drone.yml
Simon Cornet 5109489749
Some checks failed
continuous-integration/drone/push Build is failing
[CI] Try to build images using Kubernetes workers
2023-03-22 15:39:59 +01:00

32 lines
562 B
YAML

---
kind: 'pipeline'
name: 'build'
type: 'kubernetes'
steps:
# build and publish
- image: 'drone/drone-runner-kube'
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: 'false'
# authentication
username:
from_secret: 'docker_username'
password:
from_secret: 'docker_password'
# tags
tags:
- 'development'