2019-05-18 12:14:08 +00:00
|
|
|
kind: pipeline
|
2021-11-03 08:25:42 +00:00
|
|
|
type: docker
|
2019-05-18 12:14:08 +00:00
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build_and_publish
|
|
|
|
image: plugins/docker:linux-amd64
|
|
|
|
settings:
|
2020-08-12 13:14:16 +00:00
|
|
|
force_tag: true
|
2019-05-18 12:14:08 +00:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
registry: docker.asperti.com
|
|
|
|
repo: docker.asperti.com/paspo/ftps
|
|
|
|
username:
|
2021-11-03 08:25:42 +00:00
|
|
|
from_secret: docker_username
|
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
- ${DRONE_TAG}
|
|
|
|
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
|
2022-01-13 07:55:27 +00:00
|
|
|
- ${DRONE_SEMVER_MAJOR}
|
2021-11-03 08:25:42 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- tag
|