File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ cleanup() {
8989
9090trap cleanup EXIT
9191
92- if [ -z " $DOCKERHUB_PASSWORD " ]; then
92+ if [ -n " $DOCKERHUB_PASSWORD " ]; then
9393 echo " Logging in to docker"
9494 echo " ${DOCKERHUB_PASSWORD} " | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
9595fi
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ cleanup() {
1919
2020trap cleanup EXIT
2121
22- if [ -z " $DOCKERHUB_PASSWORD " ]; then
22+ if [ -n " $DOCKERHUB_PASSWORD " ]; then
2323 echo " Logging in to docker"
2424 echo " ${DOCKERHUB_PASSWORD} " | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
2525fi
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ if [ "$HAS_DOCKER" = true ]; then
3333 docker version
3434 $DOCKER_COMPOSE version
3535
36- if [ -z " $DOCKERHUB_PASSWORD " ]; then
36+ if [ -n " $DOCKERHUB_PASSWORD " ]; then
3737 echo " Logging in to docker"
3838 echo " ${DOCKERHUB_PASSWORD} " | docker login -u ${DOCKERHUB_USERNAME} --password-stdin
3939 fi
You can’t perform that action at this time.
0 commit comments