docker-sshtunnel/.drone.yml

36 lines
718 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
daemon_off: false
dry_run: true
repo: docker.asperti.com/paspo/sshtunnel
when:
event:
exclude:
- tag
- name: build_and_publish
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
tags:
- latest
force_tag: true
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/sshtunnel
username:
from_secret: docker_username
when:
event:
- tag