We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a9387f commit 995ef5dCopy full SHA for 995ef5d
.github/workflows/publish.yml
@@ -73,12 +73,12 @@ jobs:
73
provenance: true
74
sbom: true
75
76
- - name: Sign the images with GitHub OIDC Token
+ - name: 'Sign the image for ${{ matrix.target }} with GitHub OIDC Token'
77
env:
78
METADATA: ${{ steps.build-and-push.outputs.metadata }}
79
run: |
80
- DIGEST=$(echo ${METADATA} | jq -r '.[] | ."containerimage.digest"')
81
- TAGS=$(echo ${METADATA} | jq -r '.[] | ."image.name" | tostring' | tr ',' '\n')
+ DIGEST=$(echo ${METADATA} | jq -r '."${{ matrix.target }}" ."containerimage.digest"')
+ TAGS=$(echo ${METADATA} | jq -r '."${{ matrix.target }}" ."image.name" | tostring' | tr ',' '\n')
82
images=""
83
for tag in ${TAGS}; do
84
images+="${tag}@${DIGEST} "
0 commit comments