updated drone config
This commit is contained in:
parent
f837bda293
commit
89eab906e4
18
.drone.yml
18
.drone.yml
@ -1,17 +1,27 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build_and_publish
|
- name: build_and_publish
|
||||||
image: plugins/docker:linux-amd64
|
image: plugins/docker:linux-amd64
|
||||||
pull: always
|
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
dockerfile: docker/Dockerfile
|
||||||
daemon_off: false
|
|
||||||
force_tag: true
|
force_tag: true
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
registry: docker.asperti.com
|
registry: docker.asperti.com
|
||||||
repo: docker.asperti.com/paspo/ftps
|
repo: docker.asperti.com/paspo/ftps
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${DRONE_TAG}
|
||||||
|
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
Loading…
Reference in New Issue
Block a user