Adding changes to check docker push 41/139741/1
authormuraliparthatechm <muraliparthasarathy.k@techmahindra.com>
Mon, 16 Dec 2024 15:16:03 +0000 (16:16 +0100)
committermuraliparthatechm <muraliparthasarathy.k@techmahindra.com>
Mon, 16 Dec 2024 15:16:14 +0000 (16:16 +0100)
Issue-ID: POLICY-5167
Change-Id: I0521c9f27d64df3f2f42d0de404a2133cb99d134
Signed-off-by: muraliparthatechm <muraliparthasarathy.k@techmahindra.com>
build_image.sh

index 6141f5f..76e46a7 100755 (executable)
@@ -38,6 +38,7 @@ fi
 function  _build_docker_and_push_image {
     local tag_name=${IMAGE_NAME}:${VERSION}
 
+    docker login -u docker -p docker nexus3.onap.org:10003
     docker build -f  Dockerfile  -t policy-opa-pdp:${VERSION} .
     echo "Start push {$tag_name}"
     docker tag policy-opa-pdp:${VERSION} ${IMAGE_NAME}:latest