Skip to content

Commit

Permalink
debug docker_inspect command
Browse files Browse the repository at this point in the history
  • Loading branch information
marycrawford committed Nov 15, 2024
1 parent 47d9344 commit 0f42469
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
docker manifest inspect ghcr.io/${{ env.REPO }}-ocr-api:${{ inputs.ocr-version }} > /dev/null ; echo $?
)" >> $GITHUB_OUTPUT
# Debugging step to check the value of docker_inspect
- name: Debug image inspect result
run: echo "Docker inspect result: ${{ steps.image_check.outputs.docker_inspect }}"

- name: Build and Push backend
if: ${{ steps.image_check.outputs.docker_inspect == 1 }}
uses: ./.github/actions/build-publish-api
Expand Down Expand Up @@ -125,8 +129,8 @@ jobs:
path: ./downloaded-artifact # Path where the artifact will be saved

# Ensure that the downloaded artifact is available
- name: List files in the downloaded artifact directory (for debugging)
run: ls -l ./downloaded-artifact
- name: List files in the downloaded artifact directory (for debugging)
run: ls -l ./downloaded-artifact

- name: Deploy OCR-API
uses: ./.github/actions/deploy-api
Expand Down

0 comments on commit 0f42469

Please sign in to comment.