From 981e0a1101557f60ab32351fe07e9181ef40a2e6 Mon Sep 17 00:00:00 2001 From: Derek A Dombek <50093944+derekadombek@users.noreply.github.com> Date: Wed, 16 Oct 2024 12:49:03 -0600 Subject: [PATCH] Remove docker registered image check (#327) Co-authored-by: Administrator --- .github/workflows/build-deploy-ocr.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-deploy-ocr.yml b/.github/workflows/build-deploy-ocr.yml index eb39079d..af0c144b 100644 --- a/.github/workflows/build-deploy-ocr.yml +++ b/.github/workflows/build-deploy-ocr.yml @@ -33,12 +33,11 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Lowercase the repo name run: echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV} - - name: Check if image exists - id: image_check - run: docker manifest inspect ${{ env.REGISTRY }}/${{ env.REPO }}-ocr-api:${{ env.VERSION }} > /dev/null ; echo $? + # - name: Check if image exists + # id: image_check + # run: docker manifest inspect ${{ env.REGISTRY }}/${{ env.REPO }}-ocr-api:${{ env.VERSION }} > /dev/null ; echo $? - name: Build and push Docker image id: push - if: steps.image_check.outcome == 1 uses: docker/build-push-action@v6 with: context: ./OCR/