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

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
1 changed files with 10 additions and 23 deletions

View File

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