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