drone support

master
Paolo Asperti 3 years ago
parent ff107e15da
commit 5dd9ff62ac
Signed by: paspo
GPG Key ID: 06D46905D19D5182
  1. 34
      .drone.yml

@ -0,0 +1,34 @@
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:
daemon_off: false
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
Loading…
Cancel
Save