mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Fix docker login syntax (#933)
With docker 18.04 the behaviour of a documented interface has changed from 18.03 - to wit, you need to use a specific noninteractive mode of `docker login` to avoid being prompted about insecure credential storage.
This commit is contained in:
@@ -55,7 +55,7 @@ jobs:
|
||||
- deploy:
|
||||
command: |
|
||||
if [[ "${CIRCLE_BRANCH}" == "master" && -z "${CIRCLE_PR_REPONAME}" ]]; then
|
||||
docker login -u $DOCKER_USER -p $DOCKER_PASS
|
||||
printenv DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin
|
||||
git config --global user.email "ci@fnproject.com"
|
||||
git config --global user.name "CI"
|
||||
git branch --set-upstream-to=origin/${CIRCLE_BRANCH} ${CIRCLE_BRANCH}
|
||||
|
||||
Reference in New Issue
Block a user