drone update
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2021-12-12 15:04:07 +01:00
parent b11d59208d
commit c131e4e7ac
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,36 +1,23 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
daemon_off: false
dry_run: true
repo: docker.asperti.com/paspo/nextcloudclient
when:
event:
exclude:
- tag
- name: build_and_publish
image: plugins/docker:linux-amd64
pull: always
settings:
dockerfile: Dockerfile
auto_tag: false
force_tag: true
daemon_off: false
username:
from_secret: docker_username
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/nextcloudclient
tags:
- latest
username:
from_secret: docker_username
when:
- ${DRONE_TAG}
- ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR}
force_tag: true
trigger:
event:
- tag