From 325b668d005689263e0213d17806ec79b648099b Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Sat, 28 Oct 2023 20:34:22 +0200 Subject: [PATCH] fix: edge release not working with armhf --- scripts/release.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index e2470764..b664e0c2 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -11,6 +11,22 @@ PDFTK_VERSION="$6" DOCKER_REPOSITORY="$7" if [ $GOTENBERG_VERSION == "edge" ]; then +# docker buildx build \ +# --build-arg GOLANG_VERSION="$GOLANG_VERSION" \ +# --build-arg GOTENBERG_VERSION="$GOTENBERG_VERSION" \ +# --build-arg GOTENBERG_USER_GID="$GOTENBERG_USER_GID" \ +# --build-arg GOTENBERG_USER_UID="$GOTENBERG_USER_UID" \ +# --build-arg NOTO_COLOR_EMOJI_VERSION="$NOTO_COLOR_EMOJI_VERSION" \ +# --build-arg PDFTK_VERSION="$PDFTK_VERSION" \ +# --platform linux/amd64 \ +# --platform linux/arm64 \ +# --platform linux/arm/v7 \ +# --platform linux/386 \ +# -t "$DOCKER_REPOSITORY/gotenberg:edge" \ +# --push \ +# -f build/Dockerfile . + + # FIXME: --platform linux/arm/v7 (armhf) not working. docker buildx build \ --build-arg GOLANG_VERSION="$GOLANG_VERSION" \ --build-arg GOTENBERG_VERSION="$GOTENBERG_VERSION" \ @@ -20,7 +36,6 @@ if [ $GOTENBERG_VERSION == "edge" ]; then --build-arg PDFTK_VERSION="$PDFTK_VERSION" \ --platform linux/amd64 \ --platform linux/arm64 \ - --platform linux/arm/v7 \ --platform linux/386 \ -t "$DOCKER_REPOSITORY/gotenberg:edge" \ --push \