Browse Source

fixed docker publishing

master 1.1.6
Paolo Asperti 1 year ago
parent
commit
967cb2aaf5
Signed by: paspo GPG Key ID: 06D46905D19D5182
  1. 21
      .drone.yml

21
.drone.yml

@ -2,20 +2,6 @@ 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
@ -27,10 +13,5 @@ steps:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/ftps
tags:
- latest
username:
from_secret: docker_username
when:
event:
- tag
from_secret: docker_username
Loading…
Cancel
Save