27 lines
505 B
YAML
27 lines
505 B
YAML
---
|
|
kind: secret
|
|
name: docker_username
|
|
get:
|
|
path: docker
|
|
name: username
|
|
---
|
|
kind: secret
|
|
name: docker_password
|
|
get:
|
|
path: docker
|
|
name: password
|
|
---
|
|
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:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
auto_tag: true
|