t-shooting
This commit is contained in:
parent
d5dc96bfbd
commit
d509952927
@ -42,34 +42,34 @@ pipeline:
|
||||
$${CONTEXT}
|
||||
- docker push -a $REGISTRY/$${CI_REPO}
|
||||
|
||||
notify-matrix-success:
|
||||
image: code.balsillie.net/containers/woodpecker-util
|
||||
pull: false
|
||||
when:
|
||||
- event: tag
|
||||
# notify-matrix-success:
|
||||
# image: code.balsillie.net/containers/woodpecker-util
|
||||
# pull: false
|
||||
# when:
|
||||
# - event: tag
|
||||
# status: [ success ]
|
||||
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 been completed and pushed."
|
||||
# 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 been completed and pushed."
|
||||
|
||||
notify-matrix-failure:
|
||||
image: code.balsillie.net/containers/woodpecker-util
|
||||
pull: false
|
||||
when:
|
||||
- event: tag
|
||||
# notify-matrix-failure:
|
||||
# image: code.balsillie.net/containers/woodpecker-util
|
||||
# pull: false
|
||||
# when:
|
||||
# - event: tag
|
||||
# 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."
|
||||
# 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."
|
Loading…
Reference in New Issue
Block a user