You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of stamping with -ldflags for Git SHA of a build, we can use debug.BuildInfo to retrieve the vcs.revision1 value for better integrity of build metadata.
Anything else you would like to add:
Happy to contribute the changes if desired, though would like to hear what maintainers think first :) This started as a discussion over at NixOS/nixpkgs#272983 where NixOS builds Sonobuoy from source.
Describe the solution you'd like
Instead of stamping with
-ldflags
for Git SHA of a build, we can usedebug.BuildInfo
to retrieve thevcs.revision
1 value for better integrity of build metadata.Anything else you would like to add:
Happy to contribute the changes if desired, though would like to hear what maintainers think first :) This started as a discussion over at NixOS/nixpkgs#272983 where NixOS builds Sonobuoy from source.
Environment:
kubectl version
): N/A/etc/os-release
): N/AFootnotes
https://shibumi.dev/posts/go-18-feature/ ↩
The text was updated successfully, but these errors were encountered: