diff --git a/build.ps1 b/build.ps1 index b5e288e..5b2bb3a 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,6 +1,9 @@ $ErrorActionPreference = 'Stop' $PSNativeCommandUseErrorActionPreference = $true +# detect buildx, ErrorActionPreference will ensure the script stops execution if not found +docker buildx version + # define temporary directory $tempdirectory = "$pwd\temp" # define services to patch diff --git a/build.sh b/build.sh index 0b819bb..0b7938d 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,9 @@ #!/bin/bash set -e +# detect buildx, set -e will ensure the script stops execution if not found +docker buildx version + # define temporary directory TEMPDIRECTORY="$PWD/temp"