From 4b1791d35caf8beb0274757ab5aefcd8e4778c91 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Thu, 16 Dec 2021 17:49:48 +0100 Subject: [PATCH] fix(release): add noto-emoji arg --- Makefile | 1 + scripts/release.sh | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c1e372a1..87f230f4 100644 --- a/Makefile +++ b/Makefile @@ -147,5 +147,6 @@ release: ## Build the Gotenberg's Docker image for many platforms, then push it $(GOTENBERG_VERSION) \ $(GOTENBERG_USER_GID) \ $(GOTENBERG_USER_UID) \ + $(NOTO_COLOR_EMOJI_VERSION) \ $(PDFTK_VERSION) \ $(DOCKER_REPOSITORY) diff --git a/scripts/release.sh b/scripts/release.sh index 676e96a2..ba948a50 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -6,8 +6,9 @@ GOLANG_VERSION="$1" GOTENBERG_VERSION="$2" GOTENBERG_USER_GID="$3" GOTENBERG_USER_UID="$4" -PDFTK_VERSION="$5" -DOCKER_REPOSITORY="$6" +NOTO_COLOR_EMOJI_VERSION="$5" +PDFTK_VERSION="$6" +DOCKER_REPOSITORY="$7" GOTENBERG_VERSION="${GOTENBERG_VERSION//v}" SEMVER=( ${GOTENBERG_VERSION//./ } ) @@ -23,6 +24,7 @@ docker buildx build \ --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 \