From 898d3af933e1313bfe80d31bf661d781bd69da5f Mon Sep 17 00:00:00 2001 From: John Boyes Date: Thu, 18 Jan 2024 03:29:43 +0000 Subject: [PATCH] Remove third party dependency --- .github/workflows/check_docker_latest.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check_docker_latest.yml b/.github/workflows/check_docker_latest.yml index 42281643..23e492a8 100644 --- a/.github/workflows/check_docker_latest.yml +++ b/.github/workflows/check_docker_latest.yml @@ -9,14 +9,9 @@ jobs: runs-on: ubuntu-22.04 steps: - - name: Check Docker image with current semantic version is also tagged with latest - id: docker_semver - uses: jacobtomlinson/gha-get-docker-hub-tags@0.1.1 - with: - org: 'agilepathway' # Docker Hub user or organisation name - repo: 'pull-request-label-checker' # Docker Hub repository name - - name: Inspect image + env: + image_ver: v1.6.13 run: | - docker pull agilepathway/pull-request-label-checker:${{ steps.docker_semver.outputs.tag }} - docker image inspect agilepathway/pull-request-label-checker:${{ steps.docker_semver.outputs.tag }} | jq -r '.[] | (.RepoTags)' + docker pull agilepathway/pull-request-label-checker:${{ env.image_ver }} + docker image inspect agilepathway/pull-request-label-checker:${{ env.image_ver }} | jq -r '.[] | (.RepoTags)'