From 13a306a061144714593bfb81a81a25fbe754380e Mon Sep 17 00:00:00 2001 From: Michael Balsillie Date: Mon, 22 Aug 2022 02:08:21 +1200 Subject: [PATCH] switch curl step from bash to sh --- .woodpecker.yml | 2 +- notify-watchtower.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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