From 7ef4bbd5f706933a68c36efabb3265f463350d86 Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Tue, 18 Jul 2017 16:16:27 +0300 Subject: [PATCH] fix docker build in beta --- .gitlab-ci.yml | 2 +- scripts/docker-build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 772983158..37b72b6c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -563,7 +563,7 @@ docker-build: - if [ "$CI_BUILD_REF_NAME" == "beta-release" ]; then DOCKER_TAG="latest"; else DOCKER_TAG=$CI_BUILD_REF_NAME; fi - echo "Tag:" $DOCKER_TAG - docker login -u $Docker_Hub_User_Parity -p $Docker_Hub_Pass_Parity - - sh scripts/docker-build.sh $DOCKER_TAG parity + - sh scripts/docker-build.sh $DOCKER_TAG - docker logout tags: - docker diff --git a/scripts/docker-build.sh b/scripts/docker-build.sh index 92d35432b..ceb085f51 100644 --- a/scripts/docker-build.sh +++ b/scripts/docker-build.sh @@ -4,4 +4,4 @@ DOCKER_BUILD_TAG=$1 echo "Docker build tag: " $DOCKER_BUILD_TAG docker build --build-arg BUILD_TAG=$DOCKER_BUILD_TAG --no-cache=true --tag parity/parity:$DOCKER_BUILD_TAG . docker run -it parity/parity:$DOCKER_BUILD_TAG -v -#docker push parity/parity:$DOCKER_BUILD_TAG +docker push parity/parity:$DOCKER_BUILD_TAG