This commit is contained in:
parent
ff8bce9c20
commit
faa30638bd
1 changed files with 23 additions and 4 deletions
27
.drone.yml
27
.drone.yml
|
@ -11,6 +11,26 @@ 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
|
||||
|
@ -18,9 +38,8 @@ steps:
|
|||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: jcollie/healthchecks
|
||||
username:
|
||||
from_secret: docker_username
|
||||
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
|
||||
username: jcollie
|
||||
password:
|
||||
from_secret: docker_password
|
||||
from_secret: digitalocean_auth
|
||||
auto_tag: true
|
||||
|
|
Loading…
Reference in a new issue