Unverified Commit 5b079ad4 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

provide multi-platform docker images

parent 2dda99a9
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -6,15 +6,8 @@ VERSION="$1"
test -n "${VERSION}"

git checkout main

git pull
git submodule update --init

git checkout "${VERSION}"
git submodule update --init

docker build --no-cache -t dbris-m:${VERSION} .
docker build -t dbris-m:latest .
docker tag dbris-m:${VERSION} derfnull/dbris-m:${VERSION}
docker tag dbris-m:latest derfnull/dbris-m:latest
docker push derfnull/dbris-m:${VERSION}
docker push derfnull/dbris-m:latest
docker buildx build --push --no-cache --platform linux/amd64,linux/arm64 --tag derfnull/dbris-m:${VERSION} --tag derfnull/dbris-m:latest .