# Build and push the image from the Dockerfile at the root of the project.
# To push to a specific docker tag, amend the --destination parameter, e.g. --destination $CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME
# See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference for available variables
-echo "Pipeline source - $CI_PIPELINE_SOURCE"
-echo "Base image - $BASE_IMAGE"
-echo "Building standalone image ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${CMSSW_VERSION}-${DATE}-${CI_COMMIT_SHORT_SHA} with ${CMSSW_VERSION} and ${SCRAM_ARCH}" on ${DATE}
-echo "Building standalone image ${CI_REGISTRY_IMAGE}/${IMAGE_NAME}:${CMSSW_VERSION}-${DATE}-${CI_COMMIT_SHORT_SHA} with ${CMSSW_VERSION} and ${SCRAM_ARCH}" on ${DATE}