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
|
path: docker
|
||||||
name: password
|
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
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: build
|
name: build
|
||||||
steps:
|
steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/docker
|
image: plugins/kaniko
|
||||||
settings:
|
settings:
|
||||||
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
|
repo: docker.io/jcollie/healthchecks
|
||||||
registry: registry.digitalocean.com
|
repository: docker.io
|
||||||
username: jeff@ocjtech.us
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
password:
|
password:
|
||||||
from_secret: digitalocean_auth
|
from_secret: docker_password
|
||||||
auto_tag: true
|
tags:
|
||||||
|
- latest
|
||||||
|
- latest-${DRONE_BUILD_NUMBER}
|
||||||
|
|
Loading…
Reference in a new issue