testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

Bugfix: Issue #10527 (DockerImageName fails to check compatibility if digest is present)

Open mantis-sa opened this issue 4 months ago • 0 comments

Fixes Issue #10527 (https://github.com/testcontainers/testcontainers-java/issues/10527)

The following forms are now also supported (as per the DockerImageName.parse() method):

  • fooReg.registry/library/foo:tag
  • fooReg.registry/library/foo@sha256:X

where the following must be true about the string passed through:

  • foo is always mandatory
  • @sha256:X and :tag is always optional.
  • fooReg.registry is always optional
  • library is always optional except for when fooReg.registry is present

mantis-sa avatar Aug 08 '25 15:08 mantis-sa