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
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build only
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dry_run: yes
|
dry_run: yes
|
||||||
purge: no
|
|
||||||
repo: git.luj0ga.de/luca/matrix-prometheus
|
repo: git.luj0ga.de/luca/matrix-prometheus
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- tag
|
||||||
|
|
||||||
- name: publish
|
- name: build and publish
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
auto_tag: yes
|
auto_tag: yes
|
||||||
password:
|
password:
|
||||||
from_secret: access_token
|
from_secret: access_token
|
||||||
purge: no
|
|
||||||
registry: git.luj0ga.de
|
registry: git.luj0ga.de
|
||||||
repo: git.luj0ga.de/luca/matrix-prometheus
|
repo: git.luj0ga.de/luca/matrix-prometheus
|
||||||
username: _
|
username: _
|
||||||
|
|
Loading…
Reference in New Issue