Skip to content

Commit 4ea593f

Browse files
committed
🐛 👷 Fix deleted branch name
1 parent f457a31 commit 4ea593f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/delete_images.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- ''
1515
- lite
1616
env:
17+
DELETED_BRANCH: ${{ github.event.ref }}
1718
GITHUB_TOKEN: ${{ secrets.API_PACKAGE_READ_DELETE }}
1819
IMAGE: c-pac
1920
steps:
@@ -32,7 +33,7 @@ jobs:
3233
then
3334
VARIANT=-${{ inputs.variant }}
3435
fi
35-
TAG=${GITHUB_REF_NAME}
36+
TAG=${DELETED_BRANCH//\//_}
3637
TAG=$TAG$VARIANT
3738
3839
VERSION_ID=$(python .github/scripts/get_package_id.py $OWNER $IMAGE $TAG)

0 commit comments

Comments
 (0)