From ab57c4191ce1a0828d0bc4de5b40104b9764e0ac Mon Sep 17 00:00:00 2001 From: John Boyes Date: Sat, 20 Jan 2024 08:35:05 +0000 Subject: [PATCH] Add image id --- .github/workflows/check_docker_latest.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/check_docker_latest.yml b/.github/workflows/check_docker_latest.yml index 8629ec3..5a4bb7e 100644 --- a/.github/workflows/check_docker_latest.yml +++ b/.github/workflows/check_docker_latest.yml @@ -12,6 +12,13 @@ jobs: image_ver: v1.6.15 steps: + - name: Get Docker semver image id + id: get_docker_semver_image_id + run: | + docker pull ${{env.repo}}:${{ env.image_ver }} + docker image inspect ${{env.repo}}:${{ env.image_ver }} | jq -r '. | {Id: .Id} ' + echo "right" + - name: Check Docker image for new release is tagged latest id: check_docker_image_tagged_latest # yamllint disable rule:line-length