diff --git a/.woodpecker.yml b/.woodpecker.yml index d9f0ae0..65b5f15 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -77,4 +77,4 @@ pipeline: - source: WATCHTOWER_HTTP_API_TOKEN target: WATCHTOWER_HTTP_API_TOKEN commands: - - /bin/bash /git/pipeline/notify-watchtower.sh \ No newline at end of file + - /bin/sh /git/pipeline/notify-watchtower.sh \ No newline at end of file diff --git a/notify-watchtower.sh b/notify-watchtower.sh index 8ca86ba..ff9ebb5 100644 --- a/notify-watchtower.sh +++ b/notify-watchtower.sh @@ -1,2 +1,2 @@ -#!/bin/bash +#!/bin/sh curl -H "Authorization: Bearer ${WATCHTOWER_HTTP_API_TOKEN}" -i "https://${WATCHTOWER_HOST}/v1/update" \ No newline at end of file