Skip to content

Commit

Permalink
feat: avm script always pulls latest
Browse files Browse the repository at this point in the history
* feat: add docker pull to avm scripts to ensure latest

* feat: update avm script to always pull latest image
  • Loading branch information
matt-FFFFFF authored Jan 25, 2024
1 parent e3afaec commit 05de062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions avm
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ if [ -z "$1" ]; then
exit 1
fi

$CONTAINER_RUNTIME pull mcr.microsoft.com/azterraform
$CONTAINER_RUNTIME run --rm -v "$(pwd)":/src -w /src mcr.microsoft.com/azterraform make "$1"
1 change: 1 addition & 0 deletions avm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ IF "%~1"=="" (
)

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

ENDLOCAL

0 comments on commit 05de062

Please sign in to comment.