From 660b12831bb9ab5cc5dd74bff667786f9df40b9b Mon Sep 17 00:00:00 2001 From: DMedina6 <158589619+DMedina6@users.noreply.github.com> Date: Fri, 12 Apr 2024 17:00:12 -0400 Subject: [PATCH] adjust line to grab SHA for latest heimdall release (#5707) Co-authored-by: wdower <57142072+wdower@users.noreply.github.com> Co-authored-by: Emily Rodriguez <32680215+em-c-rod@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- .github/workflows/release-server-to-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-server-to-docker.yml b/.github/workflows/release-server-to-docker.yml index eb9a3bdc5b..0308e63e05 100644 --- a/.github/workflows/release-server-to-docker.yml +++ b/.github/workflows/release-server-to-docker.yml @@ -36,7 +36,7 @@ jobs: - name: Get Docker SHA shell: bash id: get-docker-sha - run: echo "DOCKER_SHA=$(docker manifest inspect --verbose docker.io/mitre/heimdall2:${{ steps.format-tag.outputs.replaced }} | jq -r '.Descriptor.digest')" >> $GITHUB_ENV + run: echo "DOCKER_SHA=$(docker inspect --format='{{index .RepoDigests 0}}' mitre/heimdall2:${{ steps.format-tag.outputs.replaced }} | cut -d '@' -f 2" >> $GITHUB_ENV - name: Sophos Factory pipeline uses: sophos/factory-run-pipeline@v2 with: