Skip to content

Commit

Permalink
Fix image tag command in test (#6301)
Browse files Browse the repository at this point in the history
`asCanonicalNameString` includes name and tag, so the result contains the tag twice.
  • Loading branch information
SoMuchForSubtlety authored Dec 13, 2022
1 parent 9f02274 commit 221a8da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public DockerImageName createImage(String originalImage, String tag) {
.withTag(tag);

// push the image to the registry
client.tagImageCmd(dummyImageId, imageName.asCanonicalNameString(), tag).exec();
client.tagImageCmd(dummyImageId, imageName.getUnversionedPart(), tag).exec();

client
.pushImageCmd(imageName.asCanonicalNameString())
Expand Down

0 comments on commit 221a8da

Please sign in to comment.