docker-healthchecks/.drone.yml
Jeffrey C. Ollie 4962acd451
Some checks failed
continuous-integration/drone/push Build is failing
fix
2021-08-06 23:50:30 -05:00

34 lines
635 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=1.22.0
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}