Only execute build-only step when not building+publishing as well
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
8af831c483
commit
ff8716f75a
10
.drone.yml
10
.drone.yml
|
@ -5,20 +5,22 @@ type: docker
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: build only
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dry_run: yes
|
||||
purge: no
|
||||
repo: git.luj0ga.de/luca/matrix-prometheus
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- tag
|
||||
|
||||
- name: publish
|
||||
- name: build and publish
|
||||
image: plugins/docker
|
||||
settings:
|
||||
auto_tag: yes
|
||||
password:
|
||||
from_secret: access_token
|
||||
purge: no
|
||||
registry: git.luj0ga.de
|
||||
repo: git.luj0ga.de/luca/matrix-prometheus
|
||||
username: _
|
||||
|
|
Loading…
Reference in New Issue