-
Notifications
You must be signed in to change notification settings - Fork 643
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
With 0.43.2 push to Docker Hub is not working any more #1698
Comments
@ilgrosso : Hello, Could you please provide more details? What error are you getting? What is your plugin configuration? |
@rohanKanojia the reported error is
The plugin configuration can be found at https://github.com/apache/syncope/blob/3_0_X/docker/core/pom.xml#L237-L273 |
@ilgrosso : Do you have docker credentials in repository in this format? <servers>
<server>
<id>docker.io</id>
<username>username</username>
<password>secret</password>
</server>
</servers>
|
@rohanKanojia I've asked the Jenkins admin and will report here, thank you |
@rohanKanojia this is their response:
|
Thanks for clarifying! Is this bug seen only on v0.43.2 or also on v0.43.1? |
Unfortunately I haven't tried with 0.43.1, just 0.43.0 (working) and 0.43.2 (not working) |
Also running into this problem with ghcr.io and 0.43.2, this setup was working with 0.43.0 and earlier Maven settings: https://github.com/B3Partners/tailormap-api/blob/7126ebe39a2c3470a7b247cbf91ef4a01a29c675/.github/maven-settings.xml#L7-L17 credentials are set from secrets as env variables in: https://github.com/B3Partners/tailormap-api/blob/7126ebe39a2c3470a7b247cbf91ef4a01a29c675/.github/workflows/ubuntu-maven.yml#L168-L178 typical build log:
|
Same here for Apache Sling, Docker pushes have started failing for us since we moved from 0.43.0 to 0.43.2 . See for instance https://github.com/apache/sling-org-apache-sling-starter/actions/runs/5785078688/job/15677027953#step:7:3989
You can see the pom.xml at https://github.com/apache/sling-org-apache-sling-starter/blob/37a32dde3a3fe9f6b1bad206973909da44ccd875/pom.xml#L267-L357 and the way we trigger the build from GitHub actions at https://github.com/apache/sling-org-apache-sling-starter/blob/37a32dde3a3fe9f6b1bad206973909da44ccd875/.github/workflows/docker-push.yml#L37-L48 Hope this helps. |
… to v0.43.2 (#196)" This reverts commit 98a87a8. Version 0.43.2 has broken DockerHub pushes, see fabric8io/docker-maven-plugin#1698
… to v0.43.2 (#196)" (#208) This reverts commit 98a87a8. Version 0.43.2 has broken DockerHub pushes, see fabric8io/docker-maven-plugin#1698
@ilgrosso @mprins: Hello, I'm trying to debug this issue. |
With 0.43.2:
With 0.43.0:
|
@rohanKanojia - worked just fine for me, thanks! https://github.com/apache/sling-org-apache-sling-starter/actions/runs/5849388029/job/15857660731 |
I confirm that 0.43.3 is working fine for me as well, thank you very much @rohanKanojia |
0.43.3 works for me |
Description
The Jenkins job which pushes Apache Syncope images to Docker Hub started failing after upgrading the
docker-maven-plugin
from 0.43.0 to 0.43.2.Sample job output: https://ci-builds.apache.org./job/Syncope/job/Syncope-3_0_X-deploy/203/console
DockerHub credentials are stored under
~/.m2/settings.xml
Info
mvn -v
) : 3.6.3The text was updated successfully, but these errors were encountered: