Skip to content

Commit 0e3f54d

Browse files
committed
Add env vars for devcontainer-release
1 parent 0dadcba commit 0e3f54d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ ifdef DEVCONTAINER
99
$(error This target can only be run outside of the devcontainer as it mounts files and this fails within a devcontainer. Don't worry all it needs is docker)
1010
endif
1111
@docker run -v ${PWD}:${PWD} \
12+
-e BUILD_NUMBER="${BUILD_NUMBER}" \
13+
-e IS_CI="${IS_CI}" \
14+
-e IS_PR="${IS_PR}" \
15+
-e BRANCH="${BRANCH}" \
16+
-e GITHUB_TOKEN="${GITHUB_TOKEN}" \
1217
--entrypoint /bin/bash \
1318
--workdir "${PWD}" \
1419
devcontainer-cli \

0 commit comments

Comments
 (0)