From 88950724c9ef0ec438e42470d2b18ac9bfa6022e Mon Sep 17 00:00:00 2001 From: Sangelo Date: Wed, 3 Apr 2024 12:43:07 +0200 Subject: [PATCH] [c] re-create tag var in publish container task --- .forgejo/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 1109c93..ccf9acb 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -34,11 +34,10 @@ jobs: export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///') # build the container just -f /workspace/sangelo/website/Justfile build "${TAG}" - echo "$TAG" - name: 🐳 Publish Container run: | - echo "$TAG" + export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///') echo "${{ secrets.PUBLISH_TOKEN }}" | docker login gitpot.dev -u sangelo --password-stdin docker push "gitpot.dev/sangelo/website:${TAG}"