Skip to content

Commit

Permalink
test docker tag output
Browse files Browse the repository at this point in the history
  • Loading branch information
Administrator committed Nov 27, 2024
1 parent 0dcbc53 commit 938db35
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-deploy-ocr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
docker_inspect: ${{ steps.image_check.outputs.docker_inspect }}
set_tag: ${{ steps.set_tag.outputs.docker_tag }}
docker_tag: ${{ steps.set_tag.outputs.docker_tag }}
steps:
- uses: actions/checkout@v4
- name: Lowercase the repo name
Expand All @@ -37,8 +37,9 @@ jobs:
shell: bash
id: set_tag
run: |-
USER_INPUT=""
USER_INPUT="0dcbc5388c299de5f8b527a2c19d6ad08ed15f47"
echo "docker_tag=$(
#this gives a new sha as default if dispatch input is empty
echo ${USER_INPUT:-"${{ github.sha }}"}
)" >> $GITHUB_OUTPUT
- name: Check if image exists
Expand Down

0 comments on commit 938db35

Please sign in to comment.