Skip to content

Commit

Permalink
Add echo inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
johnboyes authored Jan 19, 2024
1 parent e968e5e commit 30614dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check_docker_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
# yamllint disable rule:line-length
run: |
docker pull ${{env.repo}}:${{ env.image_ver }}
docker image inspect ${{env.repo}}:${{ env.image_ver }}
echo "IS_LATEST_TAGGED_CORRECTLY=$(docker image inspect ${{env.repo}}:${{ env.image_ver }} | jq -r '.[] | (.RepoTags) | any( . == "${{env.repo}}:latest") ')" >> "$GITHUB_OUTPUT"
# yamllint enable rule:line-length

Expand Down

0 comments on commit 30614dd

Please sign in to comment.