-
Notifications
You must be signed in to change notification settings - Fork 288
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
Imgutil default platform change #1957
Imgutil default platform change #1957
Conversation
Signed-off-by: Jerico Pena <jericop@gmail.com>
Signed-off-by: Jerico Pena <jericop@gmail.com>
8a98128
to
6fae7c7
Compare
@jericop I noticed the CI is failing because of this ➜ buildpacks-pack git:(imgutil-default-platform-change-test) make verify
=====> Installing goimports...
cd tools && go install golang.org/x/tools/cmd/goimports
=====> Verifying format...
=====> Installing golangci-lint...
cd tools && go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.1
=====> Linting code...
WARN [linters_context] rowserrcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.
internal/layer/writer_factory_test.go:4:2: "archive/tar" imported and not used (typecheck)
"archive/tar"
^
make: *** [lint] Error 1 I am not totally sure if it is because bumping the imgutil version ... |
Yes, it appears once we updated imgutil version! |
@jericop imgutil PR was merged!! could you update your go.mod file to point to that commit? Locally I did it and check the > pack git:(main) go get github.com/buildpacks/imgutil@84d632186b59725f22f7eaace97a0090418091c5
> pack git:(main) make verify
=====> Installing goimports...
cd tools && go install golang.org/x/tools/cmd/goimports
=====> Verifying format...
=====> Installing golangci-lint...
cd tools && go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.1
=====> Linting code...
WARN [linters_context] rowserrcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649. |
Signed-off-by: Jerico Pena <jericop@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! ❤️
Summary
This change uses a modified version of imgutil that updates the defaultPlatform to support multi-arch builds. See buildpacks/imgutil#232
Output
Before
After
Documentation
Related
Resolves #1958