From 30614dda3e37ef365a328f76d4468a59b9f3fb17 Mon Sep 17 00:00:00 2001 From: John Boyes Date: Fri, 19 Jan 2024 08:29:57 +0000 Subject: [PATCH] Add echo inspect --- .github/workflows/check_docker_latest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check_docker_latest.yml b/.github/workflows/check_docker_latest.yml index de84423..8629ec3 100644 --- a/.github/workflows/check_docker_latest.yml +++ b/.github/workflows/check_docker_latest.yml @@ -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