Simon Cornet
6927a9d66b
Some checks reported errors
continuous-integration/drone/push Build was killed
36 lines
643 B
YAML
36 lines
643 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'
|
|
custom_dns: '10.43.0.10'
|
|
build_args: '--network host'
|
|
debug: true
|
|
|
|
# build stuff
|
|
dockerfile: 'Dockerfile.linux.amd64'
|
|
daemon_off: 'false'
|
|
|
|
# authentication
|
|
username:
|
|
from_secret: 'docker_username'
|
|
password:
|
|
from_secret: 'docker_password'
|
|
|
|
# tags
|
|
tags:
|
|
- 'v0.9'
|
|
- 'latest'
|