Skip to content

Commit

Permalink
fix(service): quote tags and labels argument to make ko working (#69)
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 390093e commit 973f067
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/service.publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ 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}
--tags="${joined_tags%,}" \
"${label_flags}" \
github.com/carbynestack/ephemeral/cmd/discovery \
github.com/carbynestack/ephemeral/cmd/ephemeral \
github.com/carbynestack/ephemeral/cmd/network-controller

0 comments on commit 973f067

Please sign in to comment.