From e2ec2669247fb8a6643e6456205a0faf821156de Mon Sep 17 00:00:00 2001 From: paspo Date: Mon, 5 Aug 2024 19:49:40 +0000 Subject: [PATCH] aggiorna container in prod (#186) aggiorna il container in esecuzione sull'host con l'ultima immagine pubblicata Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/186 Co-authored-by: paspo Co-committed-by: paspo --- .gitea/workflows/build_and_push.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/build_and_push.yaml b/.gitea/workflows/build_and_push.yaml index ae729de..f8a975e 100644 --- a/.gitea/workflows/build_and_push.yaml +++ b/.gitea/workflows/build_and_push.yaml @@ -66,3 +66,8 @@ jobs: TEXT: | :white_check_mark: `${{ github.repository }}` A new container image has been pushed to `git.libreschool.org/bglug/bglug.it:latest` MATTERMOST_ICON: https://cdn3.iconfinder.com/data/icons/system-basic-vol-4-1/20/icon-note-attention-alt3-512.png + + - name: notify running live image + run: | + set -x + curl -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" https://bglug.it/v1/update