Merge pull request #33 from vector-im/dbkr/docker-env

Pass through the env var we actually use to docker
This commit is contained in:
David Baker 2020-02-28 09:31:49 +00:00 committed by GitHub
commit c4f6ff4dcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ fi
# Taken from https://www.electron.build/multi-platform-build#docker
docker run --rm -ti \
--env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS_TAG|TRAVIS|TRAVIS_REPO_|TRAVIS_BUILD_|TRAVIS_BRANCH|TRAVIS_PULL_REQUEST_|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_') \
--env-file <(env | grep -iE '^BUILDKITE_API_KEY=') \
--env ELECTRON_CACHE="/root/.cache/electron" \
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
-v ${PWD}:/project \