change image

This commit is contained in:
Michael Balsillie 2022-08-22 02:55:35 +12:00
parent d935df4341
commit c30cef26c6

View File

@ -24,7 +24,7 @@ clone:
pipeline: pipeline:
check-tag: check-tag:
image: debian:11-slim image: code.balsillie.net/containers/woodpecker-util
pull: true pull: true
commands: commands:
- /bin/bash /git/pipeline/check-tag.sh - /bin/bash /git/pipeline/check-tag.sh
@ -66,7 +66,7 @@ pipeline:
- docker push -a $REGISTRY/$ORGANIZATION/$REPO - docker push -a $REGISTRY/$ORGANIZATION/$REPO
trigger-watchtower: trigger-watchtower:
image: curlimages/curl image: code.balsillie.net/containers/woodpecker-util
pull: false pull: false
environment: environment:
*vars *vars
@ -74,10 +74,11 @@ pipeline:
- source: WATCHTOWER_HTTP_API_TOKEN - source: WATCHTOWER_HTTP_API_TOKEN
target: WATCHTOWER_HTTP_API_TOKEN target: WATCHTOWER_HTTP_API_TOKEN
commands: commands:
- /bin/sh /git/pipeline/trigger-watchtower.sh # - /bin/sh /git/pipeline/trigger-watchtower.sh
- curl -H "Authorization: Bearer $${WATCHTOWER_HTTP_API_TOKEN}" -i "https://$${WATCHTOWER_HOST}/v1/update"
notify-matrix: notify-matrix:
image: containrrr/shoutrrr image: code.balsillie.net/containers/woodpecker-util
pull: false pull: false
environment: environment:
*vars *vars
@ -88,4 +89,4 @@ pipeline:
- sleep 60 - sleep 60
- 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 $${ORGANIZATION}/$${REPO} has completed and been deployed." --message "New image build of $${ORGANIZATION}/$${REPO}, $${TAG}, has completed and been deployed."