From 8d35a0bdd1a0286118a2eab47becafbbfc099ccf Mon Sep 17 00:00:00 2001 From: Cromefire_ Date: Sun, 22 Oct 2023 20:57:29 +0200 Subject: [PATCH] Get digest output property --- .github/workflows/docker-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 0d8e9fa..5f15270 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -143,8 +143,9 @@ jobs: - name: Export digest if: github.event_name != 'pull_request' run: | + echo "${{ toJSON(steps.build.outputs.digest) }}" mkdir -p /tmp/digests - touch "/tmp/digests/${{ steps.build.outputs['containerimage.digest'] }}" + touch "/tmp/digests/${{ steps.build.outputs.digest }}" - name: Upload digest if: github.event_name != 'pull_request'