Skip to content

Commit b6029b4

Browse files
committed
fix(deploy.sh): handle docker hub separately
Using "docker.io" as the registry prefix leads to uninformative errors when trying to push images.
1 parent 4a7823d commit b6029b4

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
cd "$(dirname "$0")" || exit 1
77

8-
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" docker.io
9-
DEIS_REGISTRY=docker.io IMAGE_PREFIX=deisci BUILD_TAG=v2-alpha make -C ../.. docker-build docker-push
8+
export IMAGE_PREFIX=deisci BUILD_TAG=v2-alpha
9+
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
10+
REGISTRY='' make -C .. docker-build docker-push
1011
docker login -e="$QUAY_EMAIL" -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD" quay.io
11-
DEIS_REGISTRY=quay.io IMAGE_PREFIX=deisci BUILD_TAG=v2-alpha make -C ../.. docker-build docker-push
12+
REGISTRY=quay.io/ make -C .. docker-build docker-push

0 commit comments

Comments
 (0)