46 lines
872 B
YAML
46 lines
872 B
YAML
---
|
|
kind: secret
|
|
name: docker_username
|
|
get:
|
|
path: docker
|
|
name: username
|
|
---
|
|
kind: secret
|
|
name: docker_password
|
|
get:
|
|
path: docker
|
|
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
|
|
type: kubernetes
|
|
name: build
|
|
steps:
|
|
- name: publish
|
|
image: plugins/docker
|
|
settings:
|
|
repo: registry.digitalocean.com/ocjtech-registry-01/healthchecks
|
|
registry: registry.digitalocean.com
|
|
username: jeff@ocjtech.us
|
|
password:
|
|
from_secret: digitalocean_auth
|
|
auto_tag: true
|