This commit is contained in:
parent
4a6a3387e6
commit
91a1c66bf6
1 changed files with 13 additions and 5 deletions
18
.drone.yml
18
.drone.yml
|
@ -1,9 +1,15 @@
|
|||
---
|
||||
kind: secret
|
||||
name: digitalocean_auth
|
||||
name: docker_username
|
||||
get:
|
||||
path: digitalocean
|
||||
name: auth
|
||||
path: docker
|
||||
name: username
|
||||
---
|
||||
kind: secret
|
||||
name: docker_password
|
||||
get:
|
||||
path: docker
|
||||
name: password
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
|
@ -14,6 +20,8 @@ steps:
|
|||
settings:
|
||||
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
|
||||
registry: registry.digitalocean.com
|
||||
auth:
|
||||
from_secret: digitalocean_auth
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
auto_tag: true
|
||||
|
|
Loading…
Reference in a new issue