From f88f7d90f93b374e49bce95b4c5685a45a1e8442 Mon Sep 17 00:00:00 2001 From: Sergio <77530549+sergi0g@users.noreply.github.com> Date: Thu, 11 Jul 2024 13:29:11 +0300 Subject: [PATCH] Fix release workflow --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 785020f..74fe508 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,8 +6,11 @@ on: jobs: get-tag: runs-on: ubuntu-latest + outputs: + tag: ${{ steps.tag.outputs.tag }} steps: - name: Get current tag + id: tag run: | TAG=$(echo "$GITHUB_REF" | sed 's/^refs\/tags\///') echo "Current tag: $TAG" @@ -75,7 +78,7 @@ jobs: context: . platforms: linux/amd64, linux/arm64 push: true - tags: ghcr.io/sergi0g/cup:${{ needs.get-tag.outputs.tag }} + tags: ghcr.io/sergi0g/cup:${{ needs.get-tag.outputs.tag }},ghcr.io/sergi0g/cup:latest release: runs-on: ubuntu-latest