Also spcify the platform to run the test container on

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2025-06-11 13:32:41 +02:00
parent b880c405d5
commit 2a20503576

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env sh
set -eux
docker buildx build ./src --build-arg TARGETPLATFORM="${TARGETPLATFORM}" --tag pihole:${GIT_TAG} --no-cache
docker buildx build ./src --platform "${TARGETPLATFORM}" --build-arg TARGETPLATFORM="${TARGETPLATFORM}" --tag pihole:${GIT_TAG} --no-cache
docker images pihole:${GIT_TAG}
# auto-format the pytest code