Modify docker login cmd to use --password-stdin and avoid warning

(cherry picked from commit 788d069b53)
This commit is contained in:
ofthesun9
2021-01-31 15:39:32 +01:00
committed by Mergify
parent f58139f28c
commit ede7e3d7fc

View File

@@ -34,7 +34,7 @@ install:
before_script:
- docker-compose -v
- docker login -u $DOCKER_UN -p $DOCKER_PW
- echo "$DOCKER_PW" | docker login --username $DOCKER_UN --password-stdin
- docker-compose -f tests/build.yml build
- sudo -- sh -c 'mkdir -p /mailu && cp -r tests/certs /mailu && chmod 600 /mailu/certs/*'