Skip to content

Commit acbfbdc

Browse files
committed
Fix shell variable expansion in docker manifest printf
Use double quotes in printf format string so ${PROJECT_ID} and ${IMAGE_NAME} are expanded by the shell. Single quotes prevented expansion after #66 replaced ${{ env.* }} with shell variables.
1 parent 4040251 commit acbfbdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ jobs:
136136
run: |
137137
docker buildx imagetools create \
138138
-t gcr.io/${PROJECT_ID}/${IMAGE_NAME}:${COMMIT_SHORT_SHA} \
139-
$(printf 'gcr.io/${PROJECT_ID}/${IMAGE_NAME}@sha256:%s ' *)
139+
$(printf "gcr.io/${PROJECT_ID}/${IMAGE_NAME}@sha256:%s " *)

0 commit comments

Comments
 (0)