fix docker build in beta
This commit is contained in:
parent
96e60d9c91
commit
7ef4bbd5f7
@ -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
|
- if [ "$CI_BUILD_REF_NAME" == "beta-release" ]; then DOCKER_TAG="latest"; else DOCKER_TAG=$CI_BUILD_REF_NAME; fi
|
||||||
- echo "Tag:" $DOCKER_TAG
|
- echo "Tag:" $DOCKER_TAG
|
||||||
- docker login -u $Docker_Hub_User_Parity -p $Docker_Hub_Pass_Parity
|
- 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
|
- docker logout
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
@ -4,4 +4,4 @@ DOCKER_BUILD_TAG=$1
|
|||||||
echo "Docker build tag: " $DOCKER_BUILD_TAG
|
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 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 run -it parity/parity:$DOCKER_BUILD_TAG -v
|
||||||
#docker push parity/parity:$DOCKER_BUILD_TAG
|
docker push parity/parity:$DOCKER_BUILD_TAG
|
||||||
|
Loading…
Reference in New Issue
Block a user