gitreef

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f6c6aa98a58a7efbd1329052ffa41bb1e1dd9239
parent d6237667e5e2d04da55c2b688c5d43288a2031d1
Author: Matthias Jaros <jaros@mailbox.org>
Date:   Mon, 27 Oct 2025 18:49:18 +0100

Added version tag

Diffstat:
MJenkinsfile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile @@ -35,6 +35,7 @@ pipeline { steps { script { env.GIT_SHA = sh(script: "git rev-parse --short HEAD", returnStdout: true).trim() + env.VERSION = sh(script: "cat src/version", returnStdout: true).trim() // compose image name + tags env.GROUP_ID = "com.it-jaros.git" @@ -61,6 +62,7 @@ pipeline { DOCKER_BUILDKIT=1 docker buildx build \ --platform ${PLATFORMS} \ -t ${IMAGE_NAME}:${GIT_SHA} \ + -t ${IMAGE_NAME}:${VERSION} \ -t ${IMAGE_NAME}:latest \ --push \ . @@ -85,6 +87,7 @@ pipeline { DOCKER_BUILDKIT=1 docker buildx build \ --platform ${PLATFORMS} \ -t jarlucmat/git-server:${GIT_SHA} \ + -t jarlucmat/git-server:${VERSION} \ -t jarlucmat/git-server:latest \ --push \ .