Merge pull request #1622 from jamesmoore/main

fix: docker-publish.yml cosign command line args when multiple tags are present
This commit is contained in:
Sampark Sharma
2022-07-27 16:16:23 +05:30
committed by GitHub
+1 -1
View File
@@ -90,4 +90,4 @@ jobs:
COSIGN_EXPERIMENTAL: "true"
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: cosign sign ${{ steps.meta.outputs.tags }}@${{ steps.build-and-push.outputs.digest }}
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}