2021-02-17 23:52:03 -06:00
|
|
|
---
|
|
|
|
kind: secret
|
2021-02-18 00:30:50 -06:00
|
|
|
name: docker_username
|
2021-02-17 23:52:03 -06:00
|
|
|
get:
|
2021-02-18 00:30:50 -06:00
|
|
|
path: docker
|
|
|
|
name: username
|
|
|
|
---
|
|
|
|
kind: secret
|
|
|
|
name: docker_password
|
|
|
|
get:
|
|
|
|
path: docker
|
|
|
|
name: password
|
2021-02-17 23:52:03 -06:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: build
|
|
|
|
steps:
|
|
|
|
- name: publish
|
2021-08-06 23:39:37 -05:00
|
|
|
image: plugins/kaniko
|
2021-08-06 23:48:34 -05:00
|
|
|
environment:
|
|
|
|
VERSION: 1.22.0
|
2021-02-17 23:52:03 -06:00
|
|
|
settings:
|
2021-08-06 23:48:34 -05:00
|
|
|
build_args:
|
2021-08-06 23:50:30 -05:00
|
|
|
- VERSION=1.22.0
|
2021-08-06 23:39:37 -05:00
|
|
|
repo: docker.io/jcollie/healthchecks
|
|
|
|
repository: docker.io
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
2021-02-18 00:30:50 -06:00
|
|
|
password:
|
2021-08-06 23:39:37 -05:00
|
|
|
from_secret: docker_password
|
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
- latest-${DRONE_BUILD_NUMBER}
|
2021-08-06 23:48:34 -05:00
|
|
|
- ${VERSION}-${DRONE_BUILD_NUMBER}
|