drone update
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Paolo Asperti 2021-12-12 12:42:12 +01:00
parent 0e8be5e57d
commit a14758ec79
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 14 additions and 24 deletions

View File

@ -1,33 +1,23 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: plugins/docker:linux-amd64
pull: always
settings:
daemon_off: false
dry_run: true
repo: paspo/sip-recorder
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
repo: paspo/sip-recorder
tags:
- latest
username:
from_secret: docker_username
when:
event:
- tag
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/sip-recorder
tags:
- latest
- ${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
force_tag: true
trigger:
event:
- tag