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
|
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
|
||||||
|
@ -18,9 +38,8 @@ steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: jcollie/healthchecks
|
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
|
||||||
username:
|
username: jcollie
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: digitalocean_auth
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
|
Loading…
Reference in a new issue