feat: add filtering for VM SKUs based on location and remove family field from VmSkuRow
This commit is contained in:
18
app/build.sh
Executable file
18
app/build.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
REGISTRY="registry.koszewscy.waw.pl"
|
||||
IMAGE_NAME="azure-image-chooser-node"
|
||||
|
||||
if command -v container >/dev/null; then
|
||||
container build \
|
||||
-t $REGISTRY/$IMAGE_NAME:latest \
|
||||
--arch arm64 \
|
||||
--arch amd64 \
|
||||
. && \
|
||||
container image push \
|
||||
--arch amd64 \
|
||||
$REGISTRY/$IMAGE_NAME:latest
|
||||
else
|
||||
echo "No compatible container builder found." >&2
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user