From c2b6c1b460c817412174c9e0c172484db8e00f4b Mon Sep 17 00:00:00 2001 From: Steve Dogiakos Date: Mon, 9 Mar 2026 23:47:01 -0600 Subject: [PATCH] fix: add Bearer token authentication to ntfy notification --- .github/workflows/docker-image.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 228d453..2b3edfd 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -34,9 +34,11 @@ jobs: if: github.event_name == 'push' env: NTFY_URL: ${{ secrets.NTFY_URL }} + NTFY_TOKEN: ${{ secrets.NTFY_TOKEN }} run: | - curl -v \ + curl -s -o /dev/null \ -H "Title: kiosk-guestbook image pushed to Docker Hub" \ -H "Tags: white_check_mark" \ + -H "Authorization: Bearer $NTFY_TOKEN" \ -d "The kiosk-guestbook container has been pushed to Docker Hub and is ready to pull. Commit: ${{ github.sha }} — ${{ github.event.head_commit.message }}" \ "$NTFY_URL"