Skip to content

Commit 26c56ee

Browse files
authored
Releasy: prepare for Helm 4 (helm package repro) (#3088)
Part of #3086
1 parent 6652f1c commit 26c56ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-3-build-and-publish-artifacts.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ jobs:
358358
gpg --batch --pinentry-mode loopback --export > /tmp/pubring.gpg
359359
360360
exec_process cd helm
361+
# Prerequisite for reproducible helm packages: file modification time must be deterministic
362+
# Works with helm since version 4.0.0
363+
exec_process find polaris -exec touch -d "1980-01-01 00:00:00" {} +
361364
exec_process helm package polaris --sign --key "." --keyring /tmp/secring.gpg --passphrase-file /tmp/passphrase
362365
exec_process helm verify polaris-${version_without_rc}.tgz --keyring /tmp/pubring.gpg
363366

0 commit comments

Comments
 (0)