Fix 'Using --password via the CLI is insecure' when building the docker image (#4282)
This commit is contained in:
parent
144b838287
commit
e5e6971558
|
@ -379,7 +379,7 @@ jobs:
|
||||||
docker build .
|
docker build .
|
||||||
else
|
else
|
||||||
docker build -t tendermint/gaia:$GAIAD_VERSION .
|
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
|
docker push tendermint/gaia:$GAIAD_VERSION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue