Skip to content

Commit

Permalink
Disbling pushing Tiller to quay in CI
Browse files Browse the repository at this point in the history
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 <matt@mattfarina.com>
  • Loading branch information
mattfarina committed Oct 16, 2020
1 parent 7dc8737 commit 905375a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/deploy.sh
Expand Up @@ -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}"
Expand All @@ -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.
Expand Down

0 comments on commit 905375a

Please sign in to comment.