+ echo "If the policy agent image seem outdated, rebuild the image and run the test again."
+ fi
+ elif [ $1 == "remote" ]; then
+ if [ -z "$tmp_im" ]; then
+ echo "Pulling policy agent image from nexus: "$POLICY_AGENT_IMAGE
+ docker pull $POLICY_AGENT_IMAGE > /dev/null
+ tmp_im=$(docker images ${POLICY_AGENT_IMAGE} | grep -v REPOSITORY)
+ if [ -z "$tmp_im" ]; then
+ echo "Image could not be pulled"
+ exit 1
+ fi
+ echo -e "Policy Agent image: \033[1m"$tmp_im"\033[0m"
+ else
+ echo -e "Policy Agent image: \033[1m"$tmp_im"\033[0m"
+ echo "!! If the Policy agent image seem outdated, consider removing it from your docker registry and run the test again."