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
Then it works, as described in the last line. That's of course valid, but I thought it's not obvious what the error is. If jib is able to handle the redirect, it should also apply the authorization. I wouldn't have needed to debug the requests, if jib just said 404 for official proxied images.
Environment:
Description of the issue:
Unauthorized error when Harbor redirects to official Docker Hub images. Auth <from> and <to> are set correctly.
Expected behavior:
Jib adds previous authentication to redirected location or starts new auth flow.
Steps to reproduce:
mvn jib:dockerBuild --debug -Djava.util.logging.config.file=logging.properties -Djib.serialize=true
with properties from docsjib-maven-plugin
Configuration:Log output:
Additional Information:
Note the missing Authorization header after the redirect.
Workaround: include library/ in image name.
The text was updated successfully, but these errors were encountered: