aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Segundo2024-04-07 03:50:01 +0200
committerChristian Segundo2024-04-07 04:31:01 +0200
commitc555d9a7ba5da3b58742811c69e762f024974319 (patch)
tree057026c444f80a3860c0f045d65643c79a4057a0
parent71ae2a72ca58c46004820486eb10a06f44a5cec0 (diff)
downloadlanguagetool-c555d9a7ba5da3b58742811c69e762f024974319.tar.gz
bump to 6.4
debug debug no tag x x
-rw-r--r--.scripts.d/40-publish.sh25
-rw-r--r--Dockerfile2
2 files changed, 19 insertions, 8 deletions
diff --git a/.scripts.d/40-publish.sh b/.scripts.d/40-publish.sh
index 3e425c3..4425723 100644
--- a/.scripts.d/40-publish.sh
+++ b/.scripts.d/40-publish.sh
@@ -21,10 +21,21 @@ if [ "$GIT_BRANCH" != "master" ]; then
DOCKER_TAG="${GIT_BRANCH//\//-}"
fi
-docker buildx build \
- --platform linux/amd64,linux/arm64 \
- --no-cache \
- --pull \
- --push \
- --tag "chn2guevara/languagetool:${DOCKER_TAG}" \
- .
+if [ "$(git tag --contains)" = "" ]; then
+ docker buildx build \
+ --platform linux/amd64,linux/arm64 \
+ --no-cache \
+ --pull \
+ --push \
+ --tag "chn2guevara/languagetool:${DOCKER_TAG}" \
+ .
+else
+ docker buildx build \
+ --platform linux/amd64,linux/arm64 \
+ --no-cache \
+ --pull \
+ --push \
+ --tag "chn2guevara/languagetool:${DOCKER_TAG}" \
+ --tag "chn2guevara/languagetool:$(git tag --contains | head -1)" \
+ .
+fi
diff --git a/Dockerfile b/Dockerfile
index 32e0d53..079da19 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
FROM openjdk:slim
-ARG VERSION=6.3
+ARG VERSION=6.4
WORKDIR /home/languagetool