MVN_VERSION=$(cd .. && mvn -q \ -Dexec.executable=echo \ -Dexec.args='${project.version}' \ --non-recursive \ exec:exec) echo "MVN_VERSION: ${MVN_VERSION}" MVN_NAME=$(cd .. && mvn -q \ -Dexec.executable=echo \ -Dexec.args='${project.artifactId}' \ --non-recursive \ exec:exec) echo "MVN_NAME: ${MVN_NAME}" MVN_FINALNAME=$(cd .. && mvn -q \ -Dexec.executable=echo \ -Dexec.args='${project.build.finalName}' \ --non-recursive \ exec:exec) echo "MVN_FINALNAME: ${MVN_FINALNAME}" JAVA_VERSION=$(cd .. && mvn -q \ -Dexec.executable=echo \ -Dexec.args='${maven.compiler.target}' \ --non-recursive \ exec:exec) echo "JAVA_VERSION: ${JAVA_VERSION}" TOMCAT_VERSION=10.1.19 echo "TOMCAT_VERSION: ${TOMCAT_VERSION}" SMARTGEARS_VERSION=$(cd .. && mvn -q \ -Dexec.executable=echo \ -Dexec.args='${docker.smartgear.version}' \ --non-recursive \ exec:exec) echo "SMARTGEARS_VERSION: ${SMARTGEARS_VERSION}" CONTAINER_INI="./dockerize/configuration/container.ini" echo "CONTAINER_INI: ${CONTAINER_INI}" IMAGE_VERSION=${MVN_VERSION}-java${JAVA_VERSION}-smartgears${SMARTGEARS_VERSION} echo "IMAGE_VERSION: ${IMAGE_VERSION}" DOCKER_BUILD_NAME=$MVN_NAME:$IMAGE_VERSION echo "DOCKER_BUILD_NAME: ${DOCKER_BUILD_NAME}" SMARTGEAR_IMAGE=hub.dev.d4science.org/gcube/smartgears-distribution:${SMARTGEARS_VERSION}-java${JAVA_VERSION}-tomcat${TOMCAT_VERSION} echo "SMARTGEAR_IMAGE: ${SMARTGEAR_IMAGE}" DOCKER_IMAGE_NAME=d4science/$DOCKER_BUILD_NAME echo "DOCKER_IMAGE_NAME: ${DOCKER_IMAGE_NAME}" HARBOR_IMAGE_NAME=hub.dev.d4science.org/gcube/$DOCKER_BUILD_NAME echo "HARBOR_IMAGE_NAME: ${HARBOR_IMAGE_NAME}"