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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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