yaml parsing gymnastics
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Michael Balsillie 2022-08-22 03:06:12 +12:00
parent c30cef26c6
commit b96652d2a8

View File

@ -74,8 +74,9 @@ 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 - HEADER='Authorization:'
- curl -H "Authorization: Bearer $${WATCHTOWER_HTTP_API_TOKEN}" -i "https://$${WATCHTOWER_HOST}/v1/update" - HEADER=$HEADER" Bearer $WATCHTOWER_HTTP_API_TOKEN"
- curl -H $HEADER -i "https://$${WATCHTOWER_HOST}/v1/update"
notify-matrix: notify-matrix:
image: code.balsillie.net/containers/woodpecker-util image: code.balsillie.net/containers/woodpecker-util