From a8260cbb29f3c16bfb9bf038f6c3477b5a041e9f Mon Sep 17 00:00:00 2001 From: Philip Cook Date: Tue, 23 Jul 2024 12:54:51 -0400 Subject: [PATCH] BUG: Fix release tags --- .github/workflows/ci-docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index 6feabfeab..51ab4d8b9 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -42,8 +42,8 @@ jobs: - name: Edit tag for releases run: | - META_TAG=${{ steps.meta.outputs.tags }} - STRIPPED_TAG=$( echo "${META_TAG#v}" ) + GIT_TAG="${{ github.ref }}" + STRIPPED_TAG="${GIT_TAG#refs/tags/v}" echo "DOCKER_TAG=${STRIPPED_TAG}" >> $GITHUB_ENV - name: Build and load (PR) or push (commit/tag)