Fix compatibility of Redpanda Docker image name

See 3e010b12
This commit is contained in:
Andy Wilkinson 2023-04-18 19:52:17 +01:00
parent d2a1fca6b2
commit 651f341385
1 changed files with 3 additions and 1 deletions

View File

@ -145,7 +145,9 @@ public final class DockerImageNames {
* @return a docker image name for running redpanda
*/
public static DockerImageName redpanda() {
return DockerImageName.parse("redpandadata/redpanda").withTag(REDPANDA_VERSION);
return DockerImageName.parse("redpandadata/redpanda")
.withTag(REDPANDA_VERSION)
.asCompatibleSubstituteFor("docker.redpanda.com/redpandadata/redpanda");
}
/**