From 7113f40c9180dbd745b65d08ec7400cb3d0238c4 Mon Sep 17 00:00:00 2001 From: Amber Date: Fri, 2 Sep 2022 00:20:08 -0400 Subject: [PATCH] Testing --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3f9e646..c509746 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,6 +4,7 @@ pipeline { environment { HOME = "${env.WORKSPACE}" + DOCKER_REGISTRY = 'https://registry.digitalocean.com' DOCKER_IMAGE_NAME = 'registry.digitalocean.com/ailuridae-registry/ailuridae.io/everybodymov' DOCKER_IMAGE = '' } @@ -49,7 +50,7 @@ pipeline { } steps { script { - docker.withRegistry("", "digital-ocean-ailuridae-registry") { + docker.withRegistry(env.DOCKER_REGISTRY, "digital-ocean-ailuridae-registry") { DOCKER_IMAGE.push("${BUILD_NUMBER}") DOCKER_IMAGE.push('latest') }