Unverified Commit 27b525ca authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

publish multi-platform docker builds

parent a7363183
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 hafas-m:${VERSION} .
docker build -t hafas-m:latest .
docker tag hafas-m:${VERSION} derfnull/dbris-m:${VERSION}
docker tag hafas-m:latest derfnull/dbris-m:latest
docker push derfnull/hafas-m:${VERSION}
docker push derfnull/hafas-m:latest
docker buildx build --push --no-cache --platform linux/amd64,linux/arm64 --tag derfnull/hafas-m:${VERSION} --tag derfnull/hafas-m:latest .