eiffel: Create periodic build jobs  for initial set of etos repos

This change creates periodic build jobs for initial set of etos
repos to start phase 2 of Eiffel Community Infra & CI/CD work.

Change-Id: I7e36fdd35273a3e8972227d988526ee7e49e0325
diff --git a/jjb/eiffel/scripts/eiffel-remrem-publish-build-periodic.sh b/jjb/eiffel/scripts/eiffel-remrem-publish-build-periodic.sh
index c79d254..8023014 100644
--- a/jjb/eiffel/scripts/eiffel-remrem-publish-build-periodic.sh
+++ b/jjb/eiffel/scripts/eiffel-remrem-publish-build-periodic.sh
@@ -52,14 +52,20 @@
 ls -al $PROJECT_WAR_FILE
 echo "----------------------------------------------------------------"
 
-# the image tagged with latest for the timebeing since we are building from the tip of master branch
-IMAGE_TAG="latest"
+# the Dockerfile to use for building the container image
+IMAGE_DOCKERFILE="${IMAGE_DOCKERFILE:?IMAGE_DOCKERFILE is unset!}"
+
+# the name of the container image
+IMAGE_NAME="${IMAGE_NAME:?IMAGE_NAME is unset!}"
+
+# the tag to apply to the container image
+IMAGE_TAG="${IMAGE_TAG:-latest}"
 
 # set image name
-IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$PROJECT:$IMAGE_TAG"
+IMAGE_NAME_TAG="$NORDIX_REGISTRY/$HARBOR_EIFFEL_PROJECT/$IMAGE_NAME:$IMAGE_TAG"
 
 # set the build command so we can log it to console
-PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file src/main/docker/Dockerfile --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
+PODMAN_BUILD_CMD="podman build --build-arg URL=$PROJECT_WAR_FILE --file $IMAGE_DOCKERFILE --log-level $PODMAN_LOG_LEVEL --tag $IMAGE_NAME_TAG ."
 
 echo "Info  : Building the container image with the command"
 echo "        $PODMAN_BUILD_CMD"