Skip to content

Commit 0632da8

Browse files
vanajamukkaramarkxnelson
authored andcommitted
docker login to OCR (#1182)
* docker login to OCR * remove commented code
1 parent a9d69bb commit 0632da8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

integration-tests/src/test/resources/setupenv.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ function create_image_pull_secret_wl {
5454
echo "secret $IMAGE_PULL_SECRET_WEBLOGIC was not created successfully"
5555
exit 1
5656
fi
57+
58+
# below docker pull is needed to for domain home in image tests the base image should be in local repo
59+
docker login -u $OCR_USERNAME -p $OCR_PASSWORD ${OCR_SERVER}
60+
docker pull $IMAGE_NAME_WEBLOGIC:$IMAGE_TAG_WEBLOGIC
5761
fi
5862
set -x
5963
}

0 commit comments

Comments
 (0)