Compare commits
2 Commits
f6e2734f0b
...
afc817d5d6
Author | SHA1 | Date | |
---|---|---|---|
afc817d5d6 | |||
8c3e233abc |
@ -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
|
||||||
@ -53,19 +56,20 @@ pipeline:
|
|||||||
- shoutrrr send
|
- shoutrrr send
|
||||||
--url matrix://:$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
--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."
|
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has been completed and pushed."
|
||||||
|
when:
|
||||||
|
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