25 lines
447 B
YAML
25 lines
447 B
YAML
---
|
|
kind: pipeline
|
|
name: build and publish
|
|
steps:
|
|
- name: docker
|
|
image: plugins/docker
|
|
settings:
|
|
repo: ducampsv/rsync-docker
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
---
|
|
kind: secret
|
|
name: docker_username
|
|
get:
|
|
path: secrets/data/droneci/dockerHub
|
|
name: username
|
|
---
|
|
kind: secret
|
|
name: docker_password
|
|
get:
|
|
path: secrets/data/droneci/dockerHub
|
|
name: password
|