ansible-deployment-container/.drone.yml

32 lines
546 B
YAML
Raw Normal View History

2022-03-15 14:32:56 +01:00
---
kind: 'pipeline'
name: 'build'
steps:
# build and publish
2022-03-15 14:32:56 +01:00
- image: 'plugins/docker'
name: 'publish'
pull: 'always'
settings:
2022-03-15 15:44:41 +01:00
# registery and repos
registry: 'docker.io'
2022-03-15 14:32:56 +01:00
cache_from: 'rakepanorama/ansible-deployment'
repo: 'rakepanorama/ansible-deployment'
2022-03-15 15:44:41 +01:00
# build stuff
dockerfile: 'Dockerfile.linux.amd64'
daemon_off: 'false'
# authentication
2022-03-15 14:32:56 +01:00
username:
from_secret: 'docker_username'
2022-03-15 14:37:35 +01:00
password:
from_secret: 'docker_password'
2022-03-15 15:44:41 +01:00
# tags
tags:
- 'v0.5'
2022-03-15 15:27:36 +01:00
- 'latest'