Skip to content

Commit 31cc02c

Browse files
committed
fix: extract docker tag for updating release (again)
Signed-off-by: Todd Ekenstam <[email protected]>
1 parent ea7007d commit 31cc02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/image-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
id: docker_tag
4949
run: |
5050
TAGS="${{ steps.meta.outputs.tags }}"
51-
FIRST_IMAGE=$(echo "$TAGS" | cut -d',' -f1)
51+
IFS=$'\n' read -r FIRST_IMAGE <<< "$TAGS"
5252
PRIMARY_TAG="${FIRST_IMAGE##*:}"
5353
echo "tag=$PRIMARY_TAG" >> $GITHUB_OUTPUT
5454

0 commit comments

Comments
 (0)