-
Notifications
You must be signed in to change notification settings - Fork 640
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: multi-arch build should use provided repository #1629
Conversation
Is it possible to add a test to verify fix is working as expected? |
My first thought was to do a similar test as for "classic" push but I didn't find any tests for it. So I took the easy way and completely skipped the tests. Right now I have a lot at work, but hopefully I'll have time to give it a try this weekend. |
96862d6
to
a624085
Compare
@rohanKanojia I added some tests for pushing both classic and buildx |
a624085
to
ce92f59
Compare
Signed-off-by: Peter Merikan <[email protected]>
ce92f59
to
d35c7bf
Compare
Codecov Report
@@ Coverage Diff @@
## master #1629 +/- ##
============================================
+ Coverage 63.66% 63.76% +0.10%
- Complexity 2173 2177 +4
============================================
Files 170 170
Lines 9926 9926
Branches 1361 1361
============================================
+ Hits 6319 6329 +10
+ Misses 3078 3064 -14
- Partials 529 533 +4
|
Kudos, SonarCloud Quality Gate passed! |
Hi @rohanKanojia, do you have a date for the next release/patch, 0.40.4? |
@merikan : Thanks a lot for reaching out, Let me cut a new release this weekend. |
Pushing respects <docker.push.registry> but pulling doesn't respect <docker.registry> |
@Zialus : Could you please create a new issue for this? |
@rohanKanojia done :) |
repository
should be used when pushing multi-arch images with buildx.repository (config and docker.push.registry)was ignored when using buildx and instead, the default Docker Hub was used and yielded the the following error
error: failed to solve: server message: insufficient_scope: authorization failed
Fixes #1597 #1593
Signed-off-by: Peter Merikan [email protected]