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

master
ofthesun9 4 years ago
parent 612632e4fc
commit 788d069b53
No known key found for this signature in database
GPG Key ID: A29786D1EA6276FF

@ -34,7 +34,7 @@ install:
before_script: before_script:
- docker-compose -v - 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 - docker-compose -f tests/build.yml build
- sudo -- sh -c 'mkdir -p /mailu && cp -r tests/certs /mailu && chmod 600 /mailu/certs/*' - sudo -- sh -c 'mkdir -p /mailu && cp -r tests/certs /mailu && chmod 600 /mailu/certs/*'

Loading…
Cancel
Save