docker-healthchecks/.drone.yml
Jeffrey C. Ollie b302305072
Some checks failed
continuous-integration/drone/push Build is failing
update
2021-08-06 23:48:34 -05:00

34 lines
639 B
YAML

---
kind: secret
name: docker_username
get:
path: docker
name: username
---
kind: secret
name: docker_password
get:
path: docker
name: password
---
kind: pipeline
type: kubernetes
name: build
steps:
- name: publish
image: plugins/kaniko
environment:
VERSION: 1.22.0
settings:
build_args:
- VERSION=${VERSION}
repo: docker.io/jcollie/healthchecks
repository: docker.io
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
- latest-${DRONE_BUILD_NUMBER}
- ${VERSION}-${DRONE_BUILD_NUMBER}