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
d7403bb266
commit
0adc48209d
|
|
@ -1,6 +1,7 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
environment {
|
environment {
|
||||||
REGISTRY_URL = "https://proxy.docker.dataekb.ru/local_cache"
|
REGISTRY_URL = "https://proxy.docker.dataekb.ru/local_cache"
|
||||||
|
REGISTRY = "proxy.docker.dataekb.ru/local_cache"
|
||||||
BOT_IMAGE_NAME = "bot_open_sesam"
|
BOT_IMAGE_NAME = "bot_open_sesam"
|
||||||
TUNNEL_IMAGE_NAME = "tunnel_open_sesam"
|
TUNNEL_IMAGE_NAME = "tunnel_open_sesam"
|
||||||
BOT_IMAGE_TAG = "latest"
|
BOT_IMAGE_TAG = "latest"
|
||||||
|
|
@ -16,7 +17,7 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') {
|
docker.withRegistry("${REGISTRY_URL}", 'jenkins_harbor') {
|
||||||
def BotImage = docker.build(
|
def BotImage = docker.build(
|
||||||
"${REGISTRY_URL}/${BOT_IMAGE_NAME}:${BOT_IMAGE_TAG}"
|
"${REGISTRY}/${BOT_IMAGE_NAME}:${BOT_IMAGE_TAG}"
|
||||||
)
|
)
|
||||||
BotImage.push()
|
BotImage.push()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue