Skip to content

Commit 05de062

Browse files
authored
feat: avm script always pulls latest
* feat: add docker pull to avm scripts to ensure latest * feat: update avm script to always pull latest image
1 parent e3afaec commit 05de062

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

avm

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

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

avm.bat

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

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

2324
ENDLOCAL

0 commit comments

Comments
 (0)