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

Provide multi-platform docker images under a single tag

Closes #56
parent 483d844c
Loading
Loading
Loading
Loading

scripts/publish-docker

0 → 100755
+13 −0
Original line number Diff line number Diff line
#!/bin/sh

set -e

VERSION="$1"
test -n "${VERSION}"

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

docker buildx build --push --no-cache --platform linux/amd64,linux/arm64 --tag derfnull/db-fakedisplay:${VERSION} --tag derfnull/db-fakedisplay:latest --build-arg=dbf_version=${VERSION} .