ansible-deployment-container/.drone.yml

33 lines
565 B
YAML
Raw Normal View History

2022-03-15 14:32:56 +01:00
---
kind: 'pipeline'
name: 'build'
type: 'kubernetes'
2022-03-15 14:32:56 +01:00
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.9'
2022-03-15 15:27:36 +01:00
- 'latest'