Compare commits

..

3 Commits

Author SHA1 Message Date
f6e2734f0b shoutrrr url syntax
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2022-08-22 12:23:36 +12:00
0db56e959a when statements don't work
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline failed
2022-08-22 12:14:02 +12:00
2457c13302 re-add notifications 2022-08-22 12:12:31 +12:00

View File

@ -23,6 +23,7 @@ pipeline:
image: docker:latest image: docker:latest
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment: environment:
*vars *vars
secrets: secrets:
@ -40,28 +41,25 @@ pipeline:
$${CONTEXT} $${CONTEXT}
- docker push -a $REGISTRY/$${CI_REPO} - docker push -a $REGISTRY/$${CI_REPO}
# notify-matrix-success: notify-matrix-success:
# image: code.balsillie.net/containers/woodpecker-util image: code.balsillie.net/containers/woodpecker-util
# pull: false pull: false
# when: environment:
# - event: tag *vars
# status: [ success ] 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 been completed and pushed."
# - 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: # notify-matrix-failure:
# image: code.balsillie.net/containers/woodpecker-util # image: code.balsillie.net/containers/woodpecker-util
# pull: false # pull: false
# when: # when:
# - event: tag # - status:
# status: [ failure ] # - failure
# environment: # environment:
# *vars # *vars
# secrets: # secrets: