q
BOT_open_sesam/pipeline/head There was a failure building this commit
Details
BOT_open_sesam/pipeline/head There was a failure building this commit
Details
parent
d57a88321e
commit
63ab836f1a
|
|
@ -7,7 +7,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
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_NAME = "open_sesam"
|
||||||
IMAGE_TAG = "latest"
|
IMAGE_TAG = "latest"
|
||||||
}
|
}
|
||||||
|
|
@ -24,7 +24,7 @@ pipeline {
|
||||||
stage('Push to Harbor') {
|
stage('Push to Harbor') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
docker.withRegistry("${REGISTRY_URL}", "harbor-credentials") {
|
docker.withRegistry("${REGISTRY_URL}", "jenkins_harbor") {
|
||||||
docker.image("${IMAGE_NAME}:${IMAGE_TAG}").push()
|
docker.image("${IMAGE_NAME}:${IMAGE_TAG}").push()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
open_sesam:
|
open_sesam:
|
||||||
container_name: open_sesam
|
container_name: open_sesam
|
||||||
build: .
|
image: https://proxy.docker.dataekb.ru/local_cache/open_sesam:latest
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue