fix: ecs Github Action (#2066)

This commit is contained in:
Sudhanshu Pandey
2024-02-13 10:56:45 -05:00
committed by GitHub
parent 084b17e950
commit f5c5ce23b0

View File

@@ -88,7 +88,12 @@ jobs:
env:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
TAGS: ${{ steps.meta.outputs.tags }}
run: cosign sign --yes ${{ steps.meta.outputs.tags }}@${{ steps.build-and-push.outputs.digest }}
run: |
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}
outputs:
image_tag_sha: ${{ steps.meta.outputs.tags }}