added cross platform builds

This commit is contained in:
1e99 2025-05-23 22:44:24 +02:00
parent a5792c8ad0
commit dc02541488

View file

@ -4,12 +4,10 @@ set -e
tag_latest=git.1e99.eu/1e99/passed:latest
tag_commit=git.1e99.eu/1e99/passed:$(git rev-parse HEAD)
# TODO: Figure out other platforms
docker image build \
docker buildx build \
--platform linux/amd64,linux/arm/v7,linux/arm64/v8 \
--force-rm \
--tag $tag_latest \
--tag $tag_commit \
--push \
.
docker image push $tag_latest
docker image push $tag_commit