switch to kaniko for building

This commit is contained in:
Jeffrey C. Ollie 2021-08-06 23:39:37 -05:00
parent 3c21aaa69c
commit c00be32a90
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -11,36 +11,19 @@ get:
path: docker
name: password
---
kind: secret
name: digitalocean_auth
get:
path: digitalocean_auth
name: auth
# ---
# kind: pipeline
# type: kubernetes
# name: build
# steps:
# - name: publish
# image: plugins/docker
# settings:
# repo: jcollie/healthchecks
# username:
# from_secret: docker_username
# password:
# from_secret: docker_password
# auto_tag: true
---
kind: pipeline
type: kubernetes
name: build
steps:
- name: publish
image: plugins/docker
image: plugins/kaniko
settings:
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
registry: registry.digitalocean.com
username: jeff@ocjtech.us
repo: docker.io/jcollie/healthchecks
repository: docker.io
username:
from_secret: docker_username
password:
from_secret: digitalocean_auth
auto_tag: true
from_secret: docker_password
tags:
- latest
- latest-${DRONE_BUILD_NUMBER}