-
Notifications
You must be signed in to change notification settings - Fork 293
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
Support pack build --platform
#2162
Conversation
Fixes #2154 Signed-off-by: Natalie Arellano <narellano@vmware.com>
26aad31
to
d81ec16
Compare
pkg/image/fetcher.go
Outdated
// Sample error from docker engine: | ||
// `image with reference <image> was found but does not match the specified platform: wanted linux/amd64, actual: linux` | ||
if strings.Contains(err.Error(), "does not match the specified platform") && | ||
strings.HasSuffix(strings.TrimSpace(err.Error()), "actual: linux") { |
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.
I added this to make the acceptance test work, but I think it's actually closer to what we want anyway
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2162 +/- ##
==========================================
+ Coverage 70.15% 70.18% +0.03%
==========================================
Files 253 253
Lines 18412 18449 +37
==========================================
+ Hits 12916 12947 +31
- Misses 4650 4656 +6
Partials 846 846
Flags with carried forward coverage won't be shown. Click here to find out more. |
5779431
to
f2cd826
Compare
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
LCOW appears to fallback to the arch it can find Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
This looks good to me, the only thing is adding back |
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
Fixes #2154
Has a merge conflict with #2086 - let's get that one in first and then update this one