ansible-deployment-container/.drone.yml
Simon Cornet c758ee1fb7
All checks were successful
continuous-integration/drone/push Build is passing
[DockerRegistery] Set to docker.io
2022-12-05 06:25:08 +01:00

33 lines
558 B
YAML

---
kind: 'pipeline'
name: 'build'
type: 'docker'
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: 'false'
# authentication
username:
from_secret: 'docker_username'
password:
from_secret: 'docker_password'
# tags
tags:
- 'v0.11'
- 'latest'