docker-maven-plugin: With 0.43.2 push to Docker Hub is not working any more
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
- docker-maven-plugin version : 0.43.2
- Maven version (
mvn -v
) : 3.6.3
- Docker version :
- If it’s a bug, how to reproduce :
- If it’s a feature request, what is your use case :
- Sample project : [GitHub Clone URL]
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (6 by maintainers)
Commits related to this issue
- Reverting docker-maven-plugin upgrade because of https://github.com/fabric8io/docker-maven-plugin/issues/1698 — committed to apache/syncope by ilgrosso a year ago
- Reverting docker-maven-plugin upgrade because of https://github.com/fabric8io/docker-maven-plugin/issues/1698 — committed to apache/syncope by ilgrosso a year ago
- Revert "chore(deps): update dependency io.fabric8:docker-maven-plugin to v0.43.2 (#196)" This reverts commit 98a87a8edc2e9044fa730ebf93d792a0ac7aab49. Version 0.43.2 has broken DockerHub pushes, see... — committed to apache/sling-org-apache-sling-starter by rombert a year ago
- Revert "chore(deps): update dependency io.fabric8:docker-maven-plugin to v0.43.2 (#196)" (#208) This reverts commit 98a87a8edc2e9044fa730ebf93d792a0ac7aab49. Version 0.43.2 has broken DockerHub pu... — committed to apache/sling-org-apache-sling-starter by rombert a year ago
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
pom/config: https://github.com/B3Partners/tailormap-api/blob/7126ebe39a2c3470a7b247cbf91ef4a01a29c675/pom.xml#L1148-L1198
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:
0.43.3 works for me
I confirm that 0.43.3 is working fine for me as well, thank you very much @rohanKanojia
@rohanKanojia - worked just fine for me, thanks! https://github.com/apache/sling-org-apache-sling-starter/actions/runs/5849388029/job/15857660731
With 0.43.2:
With 0.43.0:
@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