Skip to content

Commit 02172c8

Browse files
committed
fix: Fix signing images in Update Images workflow
1 parent e5e0310 commit 02172c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
provenance: mode=max
9696
sbom: true
9797
- name: Sign the images with GitHub OIDC Token
98-
if: ${{ steps.target_tags.outputs.tags != '' }}
98+
if: ${{ steps.check_if_update_is_necessary.outputs.needs_update == 'true' && steps.target_image_name.outputs.tags != '' }}
9999
env:
100100
DIGEST: ${{ steps.build-and-push.outputs.digest }}
101101
TAGS: ${{ steps.target_image_name.outputs.tags }}

0 commit comments

Comments
 (0)