Added API URL to the oom reporter docker build process
@@ -202,10 +202,11 @@ docker build $DOCKERS_SOURCES_PATH/cp-node-logger \
-t "$CP_NODE_LOGGER_DIST_NAME"
docker push "$CP_NODE_LOGGER_DIST_NAME"
-# Node Health Check
+# OOM Reporter
CP_OOM_REPORTER_DIST_NAME=${CP_OOM_REPORTER_DIST_NAME:-"$CP_DIST_REPO_NAME:oom-reporter-${DOCKERS_VERSION}"}
docker build $DOCKERS_SOURCES_PATH/cp-oom-reporter \
- -t "$CP_OOM_REPORTER_DIST_NAME"
+ -t "$CP_OOM_REPORTER_DIST_NAME" \
+ --build-arg CP_API_DIST_URL="$CP_API_DIST_URL"
docker push "$CP_OOM_REPORTER_DIST_NAME"
# Backups manager
