Skip to content
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

Pushing Additional Tags to Docker Hub fails #26383

Closed
dlabordus opened this issue Jun 27, 2022 · 2 comments · Fixed by #26393
Closed

Pushing Additional Tags to Docker Hub fails #26383

dlabordus opened this issue Jun 27, 2022 · 2 comments · Fixed by #26393
Assignees
Labels
area/container-image kind/bug Something isn't working
Milestone

Comments

@dlabordus
Copy link

Describe the bug

When using the parameter 'quarkus.container-image.additional-tags' to set additional tags on a docker container pushing fails with a message 'An image does not exist locally with the tag: latest'.

After analyzing the problem it looks like a problem in the class DockerProcessor.java at line 219.
I think the wrong method is used, 'getAdditionalTags()' should be replaced with 'getAdditionalImageTags()'.
The old code was also using this method and it also seems logical.

Expected behavior

To not use <tag-name>, but <image-name>:<tag-name>

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

Linux ubuntu 5.13.0-52-generic #59-Ubuntu SMP Wed Jun 15 20:17:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Output of java -version

OpenJDK 64-Bit Server VM (build 11.0.15+10-Ubuntu-0ubuntu0.21.10.1, mixed mode, sharing)

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.10.0.final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

If needed you can check the failed build

@quarkus-bot
Copy link

quarkus-bot bot commented Jun 27, 2022

/cc @geoand

@geoand
Copy link
Contributor

geoand commented Jun 28, 2022

Thanks for reporting. #26393 takes care of the issue

geoand added a commit that referenced this issue Jun 28, 2022
Fix additional tag handling in container-image-docker
@quarkus-bot quarkus-bot bot added this to the 2.11 - main milestone Jun 28, 2022
@gsmet gsmet modified the milestones: 2.11 - main, 2.10.1.Final Jun 28, 2022
gsmet pushed a commit to gsmet/quarkus that referenced this issue Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/container-image kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants