Skip to content

Commit f99581e

Browse files
author
marycrawford
committed
add notes to refactor
1 parent f3a729c commit f99581e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/deploy-dev.yml

+7
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,18 @@ jobs:
4646
echo "docker_inspect=$(
4747
docker manifest inspect ghcr.io/${{ env.REPO }}-ocr-api:${{ inputs.ocr-version }} > /dev/null ; echo $?
4848
)" >> $GITHUB_OUTPUT
49+
50+
51+
# Pull the image from GHCR
52+
# - name: Pull OCR Docker image from GHCR
53+
# run: |
54+
# docker pull ghcr.io/${{ github.repository }}-ocr-api:${{ inputs.ocr-version }}
4955

5056
# Debugging step to check the value of docker_inspect
5157
- name: Debug image inspect result
5258
run: echo "Docker inspect result: ${{ steps.image_check.outputs.docker_inspect }}"
5359

60+
# TODO: Check if image exists, if not create and build & if it does then do a docker pull
5461
- name: Build and Push backend
5562
if: ${{ steps.image_check.outputs.docker_inspect == 0 }} # TODO: May need to change this back to 1, but test out 0
5663
uses: ./.github/actions/build-publish-api

0 commit comments

Comments
 (0)