From 296385510825e006cf5a650473f3489ddbcf34fd Mon Sep 17 00:00:00 2001 From: sg481n Date: Mon, 25 Sep 2017 00:49:17 +0000 Subject: Release docker image of AAF to ONAP Nexus Issue-id: AAF-59 Change-Id: I630b299d6d0c3fe828d3a130937ee473e6c00774 Signed-off-by: sg481n --- authz-service/pom.xml | 10 ++++++---- authz-service/src/main/resources/docker/Dockerfile | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/authz-service/pom.xml b/authz-service/pom.xml index bb268726..507f2b4f 100644 --- a/authz-service/pom.xml +++ b/authz-service/pom.xml @@ -66,6 +66,7 @@ true ${project.version} https://nexus.onap.org + localhost:5000 /content/repositories/snapshots/ /content/repositories/releases/ /content/repositories/staging/ @@ -146,6 +147,7 @@ + authz-service @@ -206,7 +208,7 @@ onap/aaf/authz-service - onap/aaf/authz-service:${project.version} + ${docker.push.registry}/onap/aaf/authz-service:${project.version} ${skip.docker.push} @@ -219,7 +221,7 @@ onap/aaf/authz-service - onap/aaf/authz-service:latest + ${docker.push.registry}/onap/aaf/authz-service:latest ${skip.docker.push} @@ -231,7 +233,7 @@ push - onap/aaf/authz-service:${project.version} + ${docker.push.registry}/onap/aaf/authz-service:${project.version} ${skip.docker.push} @@ -243,7 +245,7 @@ push - onap/aaf/authz-service:latest + ${docker.push.registry}/onap/aaf/authz-service:latest ${skip.docker.push} diff --git a/authz-service/src/main/resources/docker/Dockerfile b/authz-service/src/main/resources/docker/Dockerfile index ae670f75..9b229cd7 100644 --- a/authz-service/src/main/resources/docker/Dockerfile +++ b/authz-service/src/main/resources/docker/Dockerfile @@ -1,6 +1,6 @@ FROM openjdk:8-jdk ADD opt /opt/ -ADD authz-service-1.0.1-SNAPSHOT.jar /opt/app/aaf/authz-service/lib/authz-service-1.0.1-SNAPSHOT.jar +ADD authz-service.jar /opt/app/aaf/authz-service/lib/authz-service.jar ADD startup.sh /startup.sh RUN chmod 777 /startup.sh RUN chmod -R 777 /opt/app/aaf/authz-service/etc -- cgit 1.2.3-korg