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
|
kind: secret
|
||||||
name: docker_username
|
name: digitalocean_auth
|
||||||
get:
|
get:
|
||||||
path: docker
|
path: digitalocean
|
||||||
name: username
|
name: auth
|
||||||
---
|
|
||||||
kind: secret
|
|
||||||
name: docker_password
|
|
||||||
get:
|
|
||||||
path: docker
|
|
||||||
name: password
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
|
@ -18,10 +12,8 @@ steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: docker.io/jcollie/hc
|
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
|
||||||
registry: docker.io
|
registry: registry.digitalocean.com
|
||||||
username:
|
auth:
|
||||||
from_secret: username
|
from_secret: digitalocean_auth
|
||||||
password:
|
|
||||||
from_secret: password
|
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
|
Loading…
Reference in a new issue