Skip to content

Commit

Permalink
fix(service): quote labels given to ko (#67)
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Trieflinger <[email protected]>
  • Loading branch information
strieflin authored Jul 27, 2023
1 parent 73b631f commit d3bdb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/service.publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
printf -v joined_tags "%s," "${tags[@]}"
# Generate label flags
readarray -t labels < <( echo "${{ steps.meta.outputs.labels }}" )
printf -v label_flags -- "--image-label=%s " "${labels[@]}"
printf -v label_flags -- "--image-label=\"%s\" " "${labels[@]}"
ko publish -B \
--tags=${joined_tags%,} \
${label_flags}
Expand Down

0 comments on commit d3bdb0b

Please sign in to comment.