From 905375a8794b06c991384a27371f3cdd46a7b345 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Fri, 16 Oct 2020 13:30:25 -0400 Subject: [PATCH] Disbling pushing Tiller to quay in CI CircleCI has been unable to automatically push images to Quay. An error of "denied: requested access to the resource is denied" is returned when pushing to Quay. When SSHing into the CI runner and manually running the commands which uses the CircleCI stored environment variables the commands succeed. The Quay credentials work. Disabling Quay as it is blocking CI but the problem is not immediately obvious. Signed-off-by: Matt Farina --- .circleci/deploy.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/deploy.sh b/.circleci/deploy.sh index f4c0dad90..41ff9ca52 100755 --- a/.circleci/deploy.sh +++ b/.circleci/deploy.sh @@ -57,8 +57,8 @@ docker login -u _json_key -p "$(cat ${HOME}/gcloud-service-key.json)" https://gc echo "Configuring Docker Hub configuration" echo ${DOCKER_PASS} | docker login -u ${DOCKER_USER} --password-stdin -echo "Configuring Quay configuration" -echo ${QUAY_PASS} | docker login quay.io -u ${QUAY_USER} --password-stdin +# echo "Configuring Quay configuration" +# echo ${QUAY_PASS} | docker login quay.io -u ${QUAY_USER} --password-stdin echo "Building the tiller image" make docker-build VERSION="${VERSION}" @@ -76,9 +76,9 @@ echo "Pushing image to Docker Hub" docker tag "ghcr.io/helm/tiller:${VERSION}" "helmpack/tiller:${VERSION}" docker push "helmpack/tiller:${VERSION}" -echo "Pushing image to Quay" -docker tag "ghcr.io/helm/tiller:${VERSION}" "quay.io/helmpack/tiller:${VERSION}" -docker push "quay.io/helmpack/tiller:${VERSION}" +# echo "Pushing image to Quay" +# docker tag "ghcr.io/helm/tiller:${VERSION}" "quay.io/helmpack/tiller:${VERSION}" +# docker push "quay.io/helmpack/tiller:${VERSION}" # Canary version is used with helm init --canary-image flag. # Does not push canary binary which is Helm v3.