diff --git a/Jenkinsfile b/Jenkinsfile index cbd75e2..ff9f4aa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { } environment { - REGISTRY_URL = "https://proxy.docker.dataekb.ru/harbor/projects/3/repositories" + REGISTRY_URL = "https://proxy.docker.dataekb.ru/local_cache" IMAGE_NAME = "open_sesam" IMAGE_TAG = "latest" } @@ -24,7 +24,7 @@ pipeline { stage('Push to Harbor') { steps { script { - docker.withRegistry("${REGISTRY_URL}", "harbor-credentials") { + docker.withRegistry("${REGISTRY_URL}", "jenkins_harbor") { docker.image("${IMAGE_NAME}:${IMAGE_TAG}").push() } } diff --git a/docker-compose.yml b/docker-compose.yml index 0fff7fb..2459b2e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: open_sesam: container_name: open_sesam - build: . + image: https://proxy.docker.dataekb.ru/local_cache/open_sesam:latest stdin_open: true tty: true env_file: