switch to kaniko for building
This commit is contained in:
parent
3c21aaa69c
commit
c00be32a90
1 changed files with 9 additions and 26 deletions
35
.drone.yml
35
.drone.yml
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue