Fix 'Using --password via the CLI is insecure' when building the docker image (#4282)

This commit is contained in:
Alessio Treglia
2019-05-08 01:47:11 +01:00
committed by GitHub
parent 144b838287
commit e5e6971558
+1 -1
View File
@@ -379,7 +379,7 @@ jobs:
docker build .
else
docker build -t tendermint/gaia:$GAIAD_VERSION .
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker login --password-stdin -u $DOCKER_USER <<<$DOCKER_PASS
docker push tendermint/gaia:$GAIAD_VERSION
fi