diff --git a/cpg_flow_test/run-test-workflow.sh b/cpg_flow_test/run-test-workflow.sh index d05bdf9..6e27c62 100755 --- a/cpg_flow_test/run-test-workflow.sh +++ b/cpg_flow_test/run-test-workflow.sh @@ -25,10 +25,10 @@ fi # Check that the docker image can be pulled IMAGE="australia-southeast1-docker.pkg.dev/cpg-common/$IMAGE_TAG" -if docker pull "$IMAGE" > /dev/null 2>&1; then - echo "Docker image exists" +if docker manifest inspect "$IMAGE" > /dev/null 2>&1; then + echo "Docker image $IMAGE exists." else - echo "Could not pull image $IMAGE" + echo "Docker image $IMAGE does not exist. Please build the image before running this script." exit 1 fi