20 lines
392 B
YAML
20 lines
392 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: greeting
|
|
|
|
steps:
|
|
- name: en
|
|
image: alpine
|
|
commands:
|
|
- echo hello world
|
|
|
|
- name: publish
|
|
image: plugins/docker
|
|
settings:
|
|
repo: regisrty.venya.tech/drone/deploy-test
|
|
registry: https://regisrty.venya.tech/
|
|
tags: [ "${DRONE_COMMIT_SHA:0:7}","latest" ]
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password |