BUILD_ARGS="--no-cache"
ORG="onap"
-VERSION="1.1.0"
+VERSION="2.0.0"
PROJECT="aaf"
IMAGE="sms"
DOCKER_REPOSITORY="nexus3.onap.org:10003"
cp ../target/sms .
}
-function remove_binary {
+function copy_certificates {
+ cp ../src/sms/auth/aaf-sms.api.simpledemo.onap.org.pem .
+ cp ../src/sms/auth/aaf-sms.api.simpledemo.onap.org.pr .
+}
+
+function cleanup {
rm sms
+ rm aaf-sms.api.simpledemo.onap.org.pem
+ rm af-sms.api.simpledemo.onap.org.pr
}
function build_image {
docker push ${IMAGE_NAME}:latest
push_image_tag ${IMAGE_NAME}:${VERSION}-SNAPSHOT-latest
- push_image_tag ${IMAGE_NAME}:${VERSION}-STAGING-latest
}
generate_binary
+copy_certificates
build_image
push_image
-remove_binary
\ No newline at end of file
+cleanup
\ No newline at end of file