Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reproducible builds #1053

Merged
merged 1 commit into from
Nov 21, 2021
Merged

fix: reproducible builds #1053

merged 1 commit into from
Nov 21, 2021

Conversation

caarlos0
Copy link
Contributor

@caarlos0 caarlos0 commented Nov 15, 2021

Summary

On #1019 there are some discussion about the builds not being reproducible.

We could also ditch the ldflags and read from debug.ReadBuildInfo() only.

What this PR does is:

  • enable go mod proxying, so all releases (except snapshots) are built from the gomod proxy version instead of local code

The other bits goreleaser needs for reproducible builds are already there, so this should be working assuming the same inputs are given.

More info:

Ticket Link

Release Note


@dlorenc
Copy link
Member

dlorenc commented Nov 21, 2021

We should be good to merge if you get the DCO bit signed!

@caarlos0
Copy link
Contributor Author

oh, no idea why it didn't signoff :|

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
@dlorenc dlorenc merged commit 5586790 into sigstore:main Nov 21, 2021
@github-actions github-actions bot added this to the v1.4.0 milestone Nov 21, 2021
@caarlos0 caarlos0 deleted the reproducible branch November 21, 2021 23:30
@cpanato
Copy link
Member

cpanato commented Nov 22, 2021

thanks for that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants