docker-healthchecks/.drone.yml

46 lines
822 B
YAML
Raw Normal View History

2021-02-17 23:52:03 -06:00
---
kind: secret
2021-02-18 00:30:50 -06:00
name: docker_username
2021-02-17 23:52:03 -06:00
get:
2021-02-18 00:30:50 -06:00
path: docker
name: username
---
kind: secret
name: docker_password
get:
path: docker
name: password
2021-02-17 23:52:03 -06:00
---
2021-02-18 00:43:23 -06:00
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
---
2021-02-17 23:52:03 -06:00
kind: pipeline
type: kubernetes
name: build
steps:
- name: publish
image: plugins/docker
settings:
2021-02-18 00:43:23 -06:00
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
username: jcollie
2021-02-18 00:30:50 -06:00
password:
2021-02-18 00:43:23 -06:00
from_secret: digitalocean_auth
2021-02-17 23:52:03 -06:00
auto_tag: true