Skip to content

Commit 651f341

Browse files
committed
Fix compatibility of Redpanda Docker image name
See 3e010b1
1 parent d2a1fca commit 651f341

File tree

1 file changed

+3
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers

1 file changed

+3
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/DockerImageNames.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ public static DockerImageName redis() {
145145
* @return a docker image name for running redpanda
146146
*/
147147
public static DockerImageName redpanda() {
148-
return DockerImageName.parse("redpandadata/redpanda").withTag(REDPANDA_VERSION);
148+
return DockerImageName.parse("redpandadata/redpanda")
149+
.withTag(REDPANDA_VERSION)
150+
.asCompatibleSubstituteFor("docker.redpanda.com/redpandadata/redpanda");
149151
}
150152

151153
/**

0 commit comments

Comments
 (0)