diff --git a/.github/workflows/build-push-image.yml b/.github/workflows/build-push-image.yml index 422741e1..892405be 100644 --- a/.github/workflows/build-push-image.yml +++ b/.github/workflows/build-push-image.yml @@ -38,7 +38,7 @@ jobs: INPUT_TAG: ${{ inputs.image-tag }} FALLBACK_TAG: ${{ steps.ghd.outputs.describe }} run: | - export IMAGE_TAG=${INPUT_TAG:-$FALLBACK_TAG} + export IMAGE_TAG=${INPUT_TAG:-$($FALLBACK_TAG | sed 's/V//')} echo $IMAGE_TAG echo IMAGE_TAG=$IMAGE_TAG >> $GITHUB_ENV # - name: Build and push