when conditions for all steps
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
This commit is contained in:
parent
8c3e233abc
commit
afc817d5d6
@ -40,6 +40,9 @@ pipeline:
|
|||||||
-f $${DOCKERFILE}
|
-f $${DOCKERFILE}
|
||||||
$${CONTEXT}
|
$${CONTEXT}
|
||||||
- docker push -a $REGISTRY/$${CI_REPO}
|
- docker push -a $REGISTRY/$${CI_REPO}
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
tag: v*
|
||||||
|
|
||||||
notify-matrix-success:
|
notify-matrix-success:
|
||||||
image: code.balsillie.net/containers/woodpecker-util
|
image: code.balsillie.net/containers/woodpecker-util
|
||||||
@ -56,18 +59,17 @@ pipeline:
|
|||||||
when:
|
when:
|
||||||
status: [ success ]
|
status: [ success ]
|
||||||
|
|
||||||
# notify-matrix-failure:
|
notify-matrix-failure:
|
||||||
# image: code.balsillie.net/containers/woodpecker-util
|
image: code.balsillie.net/containers/woodpecker-util
|
||||||
# pull: false
|
pull: false
|
||||||
# when:
|
environment:
|
||||||
# - status:
|
*vars
|
||||||
# - failure
|
secrets:
|
||||||
# environment:
|
- source: MATRIX_ACCESS_TOKEN
|
||||||
# *vars
|
target: MATRIX_ACCESS_TOKEN
|
||||||
# secrets:
|
commands:
|
||||||
# - source: MATRIX_ACCESS_TOKEN
|
- shoutrrr send
|
||||||
# target: MATRIX_ACCESS_TOKEN
|
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
||||||
# commands:
|
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has failed."
|
||||||
# - shoutrrr send
|
when:
|
||||||
# --url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
status: [ failure ]
|
||||||
# --message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has failed."
|
|
Loading…
Reference in New Issue
Block a user