updated drone config

This commit is contained in:
Paolo Asperti 2021-11-03 09:25:42 +01:00
parent f837bda293
commit 89eab906e4
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,13 +1,12 @@
kind: pipeline
type: docker
name: default
steps:
- name: build_and_publish
image: plugins/docker:linux-amd64
pull: always
settings:
auto_tag: true
daemon_off: false
dockerfile: docker/Dockerfile
force_tag: true
password:
from_secret: docker_password
@ -15,3 +14,14 @@ steps:
repo: docker.asperti.com/paspo/ftps
username:
from_secret: docker_username
tags:
- latest
- ${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
when:
event:
- tag
trigger:
event:
- tag