Update Jenkinsfile

This commit is contained in:
2025-06-03 22:25:22 +00:00
parent b6a44ba8cc
commit b2fcf6501e

4
Jenkinsfile vendored
View File

@@ -5,7 +5,7 @@ pipeline {
environment {
DOCKER_REGISTRY = 'gitea.postio.pl'
IMAGE_NAME = 'oxdr-swagger-ui'
IMAGE_NAME = 'public/oxdr-swagger-ui'
}
parameters {
@@ -69,7 +69,7 @@ pipeline {
echo "Logging into Docker registry..."
sh "echo $DOCKER_PASS | docker login ${DOCKER_REGISTRY} -u $DOCKER_USER --password-stdin"
echo "Pushing Docker image..."
sh "docker push ${DOCKER_REGISTRY}/public/${IMAGE_NAME}:${BUILD_ID}"
sh "docker push ${DOCKER_REGISTRY}/${IMAGE_NAME}:${BUILD_ID}"
}
}
}