Detect buildx

This commit is contained in:
Michiel Hazelhof 2025-08-26 14:29:39 +02:00
parent be9d7396dc
commit 594d1bd4ab
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,9 @@
$ErrorActionPreference = 'Stop' $ErrorActionPreference = 'Stop'
$PSNativeCommandUseErrorActionPreference = $true $PSNativeCommandUseErrorActionPreference = $true
# detect buildx, ErrorActionPreference will ensure the script stops execution if not found
docker buildx version
# define temporary directory # define temporary directory
$tempdirectory = "$pwd\temp" $tempdirectory = "$pwd\temp"
# define services to patch # define services to patch

View File

@ -1,6 +1,9 @@
#!/bin/bash #!/bin/bash
set -e set -e
# detect buildx, set -e will ensure the script stops execution if not found
docker buildx version
# define temporary directory # define temporary directory
TEMPDIRECTORY="$PWD/temp" TEMPDIRECTORY="$PWD/temp"