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

Fix image tag command in test #6301

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

SoMuchForSubtlety
Copy link
Contributor

imageName.asCanonicalNameString() returns the image name with the tag, so for example localhost:123/my-image:1.0.0, but tagImageCmd takes the image tag as a separate parameter, so the end result would be localhost:123/my-image:1.0.0:1.0.0.

According to the docker API spec, the repo parameter should not contain a tag.

This is a blocker for #6158

`asCanonicalNameString` includes name and tag, so the result contains the tag twice.
@SoMuchForSubtlety SoMuchForSubtlety requested a review from a team as a code owner December 12, 2022 16:28
@eddumelendez eddumelendez merged commit 221a8da into testcontainers:main Dec 13, 2022
@eddumelendez eddumelendez added this to the next milestone Dec 13, 2022
@eddumelendez
Copy link
Member

thanks for your contribution @SoMuchForSubtlety ! This is now merged in main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants