can not push image in 0.9.8 but success in 0.9.7
See original GitHub issueplugin config
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>0.9.8</version>
<configuration>
<!--
<allowInsecureRegistries>true</allowInsecureRegistries>
-->
<from>
<image>harbor.test.xxx.com/test/jdk8</image>
</from>
<to>
<image>harbor.test.xxx.com/test/jib-springboot-demo</image>
</to>
<container>
<mainClass>com.xxx.springboot.demo.DockerSpringbootDemoApplication</mainClass>
</container>
</configuration>
</plugin>
maven settings.xml
<server>
<id>harbor.test.xxx.com</id>
<username>admin</username>
<password>mypassword</password>
</server>
mvn package jib:build
error log
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:0.9.8:build (default-cli) on project docker-springboot-demo: Build image failed, perhaps you should make sure your credentials for 'harbor.test.xxx.com' are set up correctly: Unauthorized for harbor.test.xxx.com/test/jib-springboot-demo: 401 Unauthorized
[ERROR] {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"test/jib-springboot-demo","Action":"pull"},{"Type":"repository","Class":"","Name":"test/jib-springboot-demo","Action":"push"},{"Type":"repository","Class":"","Name":"test/jdk8","Action":"pull"}]}]}
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Could not push image in 0.9.8 but success in 0.9.7 gradle #808
Description of the issue: I encounter the same problem with gradle plugin. The same configs works for version 0.9.7, but gives error in...
Read more >4. Release Notes — Buildbot 2.5.0 documentation
OAuth Authentication are now working with RolesFromEmails . DockerLatentWorker : _image_exists does not raise anymore if it encounters an image with <none> ...
Read more >Bug listing with status RESOLVED with resolution FIXED as at ...
image directory" status:RESOLVED resolution:FIXED severity:normal ... Bug:2638 - "Ant doesn't run after successful install" status:RESOLVED resolution:FIXED ...
Read more >Changelog - Prefect Docs
This hotfix release fixes an issue where the kubernetes agent would attempt to load a secret value and fail if it was not...
Read more >OpenCA Guide for Versions 0.9.2+
toolkit. The problem is that several old distributions only include support for OpenSSL 0.9.6 but OpenCA needs version 0.9.7. If you install an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@coollog @chanseokoh it works in 0.9.9, thanks!
@qiankunli from https://github.com/GoogleContainerTools/jib/issues/699#issue-343957843, I noticed that with 0.9.7, you were connecting through the plain HTTP (not HTTPS) by setting
allowInsecureRegistries
to true. (And I’m sure you were passing your password with-DsendCredentialsOverHttp
.) Is this still the case, orharbor.test.xxx.com
is now a full-fledged HTTPS registry?@Justinmad likewise, with 0.9.7, were you setting
allowInsecureRegistries
to true to connect to an HTTP (not HTTPS) registry?