This commit is contained in:
parent
f78d0fa52b
commit
4a6a3387e6
1 changed files with 7 additions and 15 deletions
22
.drone.yml
22
.drone.yml
|
@ -1,15 +1,9 @@
|
|||
---
|
||||
kind: secret
|
||||
name: docker_username
|
||||
name: digitalocean_auth
|
||||
get:
|
||||
path: docker
|
||||
name: username
|
||||
---
|
||||
kind: secret
|
||||
name: docker_password
|
||||
get:
|
||||
path: docker
|
||||
name: password
|
||||
path: digitalocean
|
||||
name: auth
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
|
@ -18,10 +12,8 @@ steps:
|
|||
- name: publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: docker.io/jcollie/hc
|
||||
registry: docker.io
|
||||
username:
|
||||
from_secret: username
|
||||
password:
|
||||
from_secret: password
|
||||
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
|
||||
registry: registry.digitalocean.com
|
||||
auth:
|
||||
from_secret: digitalocean_auth
|
||||
auto_tag: true
|
||||
|
|
Loading…
Reference in a new issue