From bfe0f8913c06432c4f046a17c5df4f07af1d916c Mon Sep 17 00:00:00 2001 From: Diogenes Analytics Date: Mon, 4 Mar 2024 21:45:04 -0500 Subject: [PATCH] Updating to docker pull --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 985865d..c8f46c4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,13 +44,13 @@ jobs: # Check if Docker image exists - name: Check if Docker image exists - id: check-docker-image run: | set -e - if docker inspect "${{ env.IMAGE_REPO_NAME }}" &> /dev/null; then + if docker pull "${{ env.IMAGE_REPO_NAME }}"; then + echo "Image successfully pulled!" echo "IMAGE_EXISTS=true" >> $GITHUB_ENV else - echo "::error::Image does not exist" + echo "::error::Failed to pull the image" echo "IMAGE_EXISTS=false" >> $GITHUB_ENV fi continue-on-error: true