diff --git a/.woodpecker.yml b/.woodpecker.yml index 990fab7..c55abba 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -24,7 +24,7 @@ clone: pipeline: check-tag: - image: debian:11-slim + image: code.balsillie.net/containers/woodpecker-util pull: true commands: - /bin/bash /git/pipeline/check-tag.sh @@ -66,7 +66,7 @@ pipeline: - docker push -a $REGISTRY/$ORGANIZATION/$REPO trigger-watchtower: - image: curlimages/curl + image: code.balsillie.net/containers/woodpecker-util pull: false environment: *vars @@ -74,10 +74,11 @@ pipeline: - source: WATCHTOWER_HTTP_API_TOKEN target: WATCHTOWER_HTTP_API_TOKEN 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: - image: containrrr/shoutrrr + image: code.balsillie.net/containers/woodpecker-util pull: false environment: *vars @@ -88,4 +89,4 @@ pipeline: - sleep 60 - shoutrrr send --url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM} - --message "New image build $${ORGANIZATION}/$${REPO} has completed and been deployed." \ No newline at end of file + --message "New image build of $${ORGANIZATION}/$${REPO}, $${TAG}, has completed and been deployed." \ No newline at end of file