Skip to content

Commit bb8d648

Browse files
authored
Merge pull request #6552 from k0sproject/backport-6549-to-release-1.34
[Backport release-1.34] Fix image bundle hash key calculation
2 parents 5b961be + 33be808 commit bb8d648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-image-bundle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: "Cache :: Image bundle :: Calculate cache key"
5757
id: cache-image-bundle-calc-key
5858
env:
59-
HASH_VALUE: ${{ hashFiles('Makefile', '${{ inputs.image-bundle-name }}-images.txt', 'cmd/airgap/*', 'pkg/airgap/*') }}
59+
HASH_VALUE: ${{ hashFiles('Makefile', format('{0}-images.txt', inputs.image-bundle-name), 'cmd/airgap/*', 'pkg/airgap/*') }}
6060
run: |
6161
printf 'cache-key=build-%s-image-bundle-%s-%s-%s\n' "$IMAGE_BUNDLE_NAME" "$TARGET_OS" "$TARGET_ARCH" "$HASH_VALUE" >> "$GITHUB_OUTPUT"
6262

0 commit comments

Comments
 (0)