File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
systemtest/src/main/java/io/strimzi/systemtest/utils Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,12 @@ public static boolean isAllowOnCurrentEnvironment(String envVariableForCheck) {
112112 * @return Updated docker image with a proper registry, org, tag
113113 */
114114 public static String changeOrgAndTag (String image ) {
115+ // in case that the image in the file contains `@sha256:`, we want to test exactly some digest and we
116+ // will skip configuring the other parts, so returning the image as is
117+ if (image .contains ("@sha256:" )) {
118+ return image ;
119+ }
120+
115121 Matcher m = IMAGE_PATTERN_FULL_PATH .matcher (image );
116122 if (m .find ()) {
117123 String registry = setImageProperties (m .group ("registry" ), Environment .STRIMZI_REGISTRY );
You can’t perform that action at this time.
0 commit comments