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)