TARGETPLATFORM needs to be set

Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2023-10-22 12:15:04 +01:00
parent ae90e9c854
commit 5c7ff5c539
3 changed files with 3 additions and 2 deletions

View File

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