diff options
author | Christian Segundo | 2024-04-07 03:50:01 +0200 |
---|---|---|
committer | Christian Segundo | 2024-04-07 04:31:01 +0200 |
commit | c555d9a7ba5da3b58742811c69e762f024974319 (patch) | |
tree | 057026c444f80a3860c0f045d65643c79a4057a0 | |
parent | 71ae2a72ca58c46004820486eb10a06f44a5cec0 (diff) | |
download | languagetool-c555d9a7ba5da3b58742811c69e762f024974319.tar.gz |
bump to 6.4
debug
debug no tag
x
x
-rw-r--r-- | .scripts.d/40-publish.sh | 25 | ||||
-rw-r--r-- | Dockerfile | 2 |
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 @@ -1,6 +1,6 @@ FROM openjdk:slim -ARG VERSION=6.3 +ARG VERSION=6.4 WORKDIR /home/languagetool |