Skip to content

Commit

Permalink
style(run-test-workflow.sh): if style
Browse files Browse the repository at this point in the history
  • Loading branch information
violetbrina committed Jan 9, 2025
1 parent 005a23a commit 30fb992
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpg_flow_test/run-test-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ fi
IMAGE="australia-southeast1-docker.pkg.dev/cpg-common/$IMAGE_TAG"
if which docker && docker manifest inspect "$IMAGE" > /dev/null 2>&1; then
echo "Docker image $IMAGE exists."
elif ! which docker
then
elif ! which docker; then
echo "Docker is not installed. Skipping image check."
else
echo "Docker image $IMAGE does not exist. Please build the image before running this script."
Expand Down

0 comments on commit 30fb992

Please sign in to comment.