Skip to content

Commit b65ecce

Browse files
committed
Move to OCIR from quay.io
1 parent 66245bc commit b65ecce

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

wercker.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ build:
5656
rpm -e --nodeps gzip
5757
yum clean all
5858
rm -rf /var/cache/yum
59-
# push the image to quay.io using the GIT branch as the tag
59+
# push the image to Docker using the GIT branch as the tag
6060
# this image needs to be available to the integration-test pipeline for testing
6161
- internal/docker-push:
6262
username: $REPO_USERNAME
@@ -215,19 +215,19 @@ integration-test:
215215
kubectl delete secret docker-store -n test2 --ignore-not-found=true
216216
kubectl create secret docker-registry docker-store -n test2 --docker-server=index.docker.io/v1/ --docker-username=$DOCKER_USERNAME --docker-password=$DOCKER_PASSWORD --docker-email=$DOCKER_EMAIL
217217
218-
kubectl delete secret quay-io -n weblogic-operator-1 --ignore-not-found=true
219-
kubectl create secret docker-registry quay-io -n weblogic-operator-1 --docker-server=quay.io --docker-username=$QUAY_USERNAME --docker-password=$QUAY_PASSWORD --docker-email=$QUAY_EMAIL
218+
kubectl delete secret test-registry -n weblogic-operator-1 --ignore-not-found=true
219+
kubectl create secret docker-registry test-registry -n weblogic-operator-1 --docker-server=$REPO_REGISTRY --docker-username=$REPO_USERNAME --docker-password=$REPO_PASSWORD
220220
221-
kubectl delete secret quay-io -n weblogic-operator-2 --ignore-not-found=true
222-
kubectl create secret docker-registry quay-io -n weblogic-operator-2 --docker-server=quay.io --docker-username=$QUAY_USERNAME --docker-password=$QUAY_PASSWORD --docker-email=$QUAY_EMAIL
221+
kubectl delete secret test-registry -n weblogic-operator-2 --ignore-not-found=true
222+
kubectl create secret docker-registry test-registry -n weblogic-operator-2 --docker-server=$REPO_REGISTRY --docker-username=$REPO_USERNAME --docker-password=$REPO_PASSWORD
223223
224-
export IMAGE_NAME_OPERATOR="quay.io/markxnelson/weblogic-kubernetes-operator"
224+
export IMAGE_NAME_OPERATOR="${REPO_REPOSITORY}"
225225
export IMAGE_TAG_OPERATOR="${WERCKER_GIT_BRANCH//[_\/]/-}"
226226
if [ "$IMAGE_TAG_OPERATOR" = "master" ]; then
227227
export IMAGE_TAG_OPERATOR="latest"
228228
fi
229229
export IMAGE_PULL_POLICY_OPERATOR="Always"
230-
export IMAGE_PULL_SECRET_OPERATOR="quay-io"
230+
export IMAGE_PULL_SECRET_OPERATOR="test-registry"
231231
export IMAGE_PULL_SECRET_WEBLOGIC="docker-store"
232232
233233
echo "Integration test suite against the test image which is:"

0 commit comments

Comments
 (0)