fix prefix removal
This commit is contained in:
parent
f2a563dd7e
commit
09ee196d5e
6
.github/workflows/build-images.yml
vendored
6
.github/workflows/build-images.yml
vendored
@ -46,12 +46,12 @@ jobs:
|
|||||||
out=""
|
out=""
|
||||||
|
|
||||||
# if the workflow is running on a branch, let the tag be the branch name
|
# if the workflow is running on a branch, let the tag be the branch name
|
||||||
if [[ $GITHUB_REF == "ref/heads/"* ]]; then
|
if [[ $GITHUB_REF == "refs/heads/"* ]] ; then
|
||||||
echo "TAG=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
|
echo "TAG=${GITHUB_REF#'refs/heads/'}" >> $GITHUB_OUTPUT
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tag="${GITHUB_REF#refs/tags/}"
|
tag="${GITHUB_REF#'refs/tags/'}"
|
||||||
case $choice in
|
case $choice in
|
||||||
edge)
|
edge)
|
||||||
out="TAG=$tag-edge"
|
out="TAG=$tag-edge"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user