From 67cc24a9d986c76000f4c216e6d9638c2c5baba3 Mon Sep 17 00:00:00 2001 From: Nareshkumar Rao Date: Wed, 2 Apr 2025 22:45:31 +0200 Subject: [PATCH] add watchtower webhook --- .gitea/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 88fffab..b86a2ae 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -24,3 +24,7 @@ jobs: docker build -t nrx-sh:latest . && \ docker tag nrx-sh:latest git.nrx.sh/naresh/nrx-sh:latest && \ docker push git.nrx.sh/naresh/nrx-sh:latest + + - name: Notify Watchtower webhook + run: | + curl -H "Authorization: Bearer ${{ secrets.watchtower_token }}" http://watchtower:8080/v1/update