Compare commits
2 Commits
f6e2734f0b
...
afc817d5d6
Author | SHA1 | Date | |
---|---|---|---|
afc817d5d6 | |||
8c3e233abc |
@ -40,6 +40,9 @@ pipeline:
|
||||
-f $${DOCKERFILE}
|
||||
$${CONTEXT}
|
||||
- docker push -a $REGISTRY/$${CI_REPO}
|
||||
when:
|
||||
event: tag
|
||||
tag: v*
|
||||
|
||||
notify-matrix-success:
|
||||
image: code.balsillie.net/containers/woodpecker-util
|
||||
@ -53,19 +56,20 @@ pipeline:
|
||||
- shoutrrr send
|
||||
--url matrix://:$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
||||
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has been completed and pushed."
|
||||
when:
|
||||
status: [ success ]
|
||||
|
||||
# notify-matrix-failure:
|
||||
# image: code.balsillie.net/containers/woodpecker-util
|
||||
# pull: false
|
||||
# when:
|
||||
# - status:
|
||||
# - failure
|
||||
# environment:
|
||||
# *vars
|
||||
# secrets:
|
||||
# - source: MATRIX_ACCESS_TOKEN
|
||||
# target: MATRIX_ACCESS_TOKEN
|
||||
# commands:
|
||||
# - shoutrrr send
|
||||
# --url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
||||
# --message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has failed."
|
||||
notify-matrix-failure:
|
||||
image: code.balsillie.net/containers/woodpecker-util
|
||||
pull: false
|
||||
environment:
|
||||
*vars
|
||||
secrets:
|
||||
- source: MATRIX_ACCESS_TOKEN
|
||||
target: MATRIX_ACCESS_TOKEN
|
||||
commands:
|
||||
- shoutrrr send
|
||||
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
||||
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has failed."
|
||||
when:
|
||||
status: [ failure ]
|
Loading…
Reference in New Issue
Block a user