fix(Jenkinsfile): enhance Docker registry credentials handling with dynamic URL
gitea/salix-front/pipeline/pr-test This commit looks good
Details
gitea/salix-front/pipeline/pr-test This commit looks good
Details
This commit is contained in:
parent
0263faeed2
commit
27149b1750
|
@ -115,7 +115,7 @@ pipeline {
|
|||
script {
|
||||
sh 'rm junit/e2e-*.xml || true'
|
||||
env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev'
|
||||
withDockerRegistry([credentialsId: 'docker-registry']) {
|
||||
withDockerRegistry([credentialsId: 'docker-registry', url: "https://${env.REGISTRY}" ]) {
|
||||
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
|
||||
}
|
||||
def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')
|
||||
|
|
Loading…
Reference in New Issue