This commit is contained in:
parent
b11d59208d
commit
c131e4e7ac
29
.drone.yml
29
.drone.yml
@ -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
|
||||||
|
|
||||||
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
Loading…
Reference in New Issue
Block a user