Skip to content

Commit 537e6bc

Browse files
authored
Correctly pin cosign-verify action in build-image action (#281)
The build-image action was using branch reference to the previous PR branch when calling the cosign-verify. It was pointed to that because when the actions are reused, the path is evaluated relative to the repo that's using them - so we can't simply use local path here. We've got unfortunately a chicken-egg situation then, so we must always pin the verify action to the previous release.
1 parent dd86b0a commit 537e6bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

actions/build-image/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ runs:
114114
- name: Verify cache image ${{ inputs.image }}:${{ inputs.cache-image-tag }}
115115
if: inputs.cosign == 'true'
116116
id: verify_cache
117-
uses: home-assistant/builder/actions/cosign-verify@gha-builder
117+
uses: home-assistant/builder/actions/cosign-verify@dd86b0a3ee041ecc3f6512c0bfbc73a0cc724ce6 # 2026.03.0
118118
with:
119119
image: ${{ inputs.image }}:${{ inputs.cache-image-tag }}
120120
cosign-identity: ${{ inputs.cosign-identity || env.DEFAULT_COSIGN_IDENTITY }}
@@ -125,7 +125,7 @@ runs:
125125

126126
- name: Verify base image
127127
if: inputs.push == 'true' && inputs.cosign-base-verify != '' && inputs.cosign-base-identity != ''
128-
uses: home-assistant/builder/actions/cosign-verify@gha-builder
128+
uses: home-assistant/builder/actions/cosign-verify@dd86b0a3ee041ecc3f6512c0bfbc73a0cc724ce6 # 2026.03.0
129129
with:
130130
image: ${{ inputs.cosign-base-verify }}
131131
cosign-identity: ${{ inputs.cosign-base-identity }}

0 commit comments

Comments
 (0)