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

provide multi-platform docker images

parent f00130d7
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/hafas-m:${VERSION}
docker tag hafas-m:latest derfnull/hafas-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:${VERSION} --tag derfnull/hafas:latest --build-arg=dbf_version=${VERSION} .