Skip to content

Commit

Permalink
fix(service): provide labels to ko command as separate flags (#61)
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 9d6a79c commit 74b9a9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/service.publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ jobs:
uses: imjasonh/[email protected]
- name: Publish Docker Images
run: |
readarray -t labels < <( echo "${{ steps.meta.outputs.labels }}" )
printf -v label_flags -- "--image-label=%s " "${labels[@]}"
ko publish -B \
--tags=${{ steps.meta.outputs.tags }} \
--image-label=${{ steps.meta.outputs.labels }} \
${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 74b9a9f

Please sign in to comment.