Only execute build-only step when not building+publishing as well
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2023-01-14 02:11:35 +01:00
parent 8af831c483
commit ff8716f75a
1 changed files with 6 additions and 4 deletions

View File

@ -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: _