Skip to content

Commit defb81d

Browse files
committed
map two env vars required by grept into container
1 parent 0e6f74c commit defb81d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

avm

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ if [ -z "$1" ]; then
1818
exit 1
1919
fi
2020

21-
$CONTAINER_RUNTIME run --pull always --rm -v "$(pwd)":/src -w /src mcr.microsoft.com/azterraform make "$1"
21+
$CONTAINER_RUNTIME run --pull always --rm -v "$(pwd)":/src -w /src -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER mcr.microsoft.com/azterraform make "$1"

avm.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ IF "%~1"=="" (
1818
)
1919

2020
REM Run the make target with CONTAINER_RUNTIME
21-
%CONTAINER_RUNTIME% run --pull always --rm -v "%cd%":/src -w /src mcr.microsoft.com/azterraform make %1
21+
%CONTAINER_RUNTIME% run --pull always --rm -v "%cd%":/src -w /src -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER mcr.microsoft.com/azterraform make %1
2222

2323
ENDLOCAL

0 commit comments

Comments
 (0)