mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Pass through env vars with special prefix
This commit is contained in:
parent
494200d576
commit
bfcb1e6bfb
@ -8,7 +8,8 @@ fi
|
||||
|
||||
# Taken from https://www.electron.build/multi-platform-build#docker
|
||||
docker run --rm -ti \
|
||||
--env-file <(env | grep -iE '^BUILDKITE_API_KEY=') \
|
||||
# Pass through any vars prefixed with INDOCKER_, removing the prefix
|
||||
--env-file <(env | grep -E '^INDOCKER_=' | sed -e 's/^INDOCKER_//') \
|
||||
--env ELECTRON_CACHE="/root/.cache/electron" \
|
||||
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
|
||||
-v ${PWD}:/project \
|
||||
|
Loading…
Reference in New Issue
Block a user