Update Jenkinsfile
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user