docker-ftps/.drone.yml
Paolo Asperti 51f2e1f2d4
All checks were successful
continuous-integration/drone/tag Build is passing
fixed docker publishing
2020-08-12 15:14:16 +02:00

36 lines
724 B
YAML

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