Handle "/" in branch names (#3260)
This commit is contained in:
parent
07c7357825
commit
1a49117d8a
|
@ -342,7 +342,7 @@ jobs:
|
|||
id: image-tag
|
||||
run: |
|
||||
if [[ $(grep "pull" <<< "${GITHUB_REF}") ]]; then
|
||||
IMAGE_TAG=${GITHUB_HEAD_REF}
|
||||
IMAGE_TAG=$(echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g")
|
||||
else
|
||||
IMAGE_TAG=$(echo "${GITHUB_REF:11}" | sed "s#/#-#g")
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue