Skip to content

Commit be002ea

Browse files
committed
fix branch name sanitising in fatimage
1 parent 1f393e3 commit be002ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fatimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
. venv/bin/activate
7575
. environments/.stackhpc/activate
7676
BRANCH=${{ github.ref_name }}
77-
BRANCH_VERSION=${BRANCH//\/-}
77+
BRANCH_VERSION=${BRANCH//\//-} # replace '/' with '-' using bash parameter expansion
7878
NIGHTLY_IMAGE_ID=$( \
7979
openstack image show -c id -f value ${{ matrix.builds.source_image_name }}-${BRANCH_VERSION} || \
8080
openstack image show -c id -f value ${{ matrix.builds.source_image_name }}-latest \

0 commit comments

Comments
 (0)