summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-11-10 11:01:01 +0100
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-11-10 11:01:01 +0100
commit9d4230738ae0adb0adc8ab28e5d9c369e79f5877 (patch)
treee2c238d2931eabdd07377d8c90e02c0271e72378
parentaf7b1d8303322c75bf3c5f243835e5758460a8fa (diff)
Reorganized environment variables
-rw-r--r--Jenkinsfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 7451e35..7ecb367 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -9,13 +9,13 @@ pipeline {
// 👇 Fill these for your setup
environment {
- GIT_URL = '/var/git/gitfish.git'
+ PROJECT = 'gitfish'
+ GIT_URL = "/var/git/${PROJECT}.git"
GIT_BRANCH = 'trunk'
- GIT_CREDENTIALS = '' // Jenkins credentialsId (leave empty for public)
- REGISTRY = 'docker.it-jaros.com' // e.g. ghcr.io/you or registry.example.com/namespace
- GROUP_ID = 'com.it-jaros.git'
- IMAGE_NAME = "${REGISTRY}/${GROUP_ID}"
- DOCKER_HUB = 'jarlucmat/gitfish'
+ GIT_CREDENTIALS = ''
+ REGISTRY = 'docker.it-jaros.com'
+ IMAGE_NAME = "${REGISTRY}/${PROJECT}"
+ DOCKER_HUB = "jarlucmat/${PROJECT}"
PLATFORMS = 'linux/arm64/v8,linux/amd64'
ALPINE_VERSION = 'latest'
}