From a126631a6175d383ea404ee203cec9c2c3ac41a9 Mon Sep 17 00:00:00 2001 From: "Shkar T. Noori" Date: Thu, 8 May 2025 20:51:26 +0300 Subject: [PATCH] Add digest output to action.yml and set build-and-push step ID This update introduces a new output 'digest' to the action.yml file, which captures the digest value from the build-and-push step. Additionally, the build-and-push step is now assigned an ID for better output management. --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index d250ca2..c953333 100644 --- a/action.yml +++ b/action.yml @@ -30,6 +30,9 @@ inputs: description: "Build Secrets" outputs: + digest: + description: "Digest" + value: ${{ steps.build-and-push.outputs.digest }} tag: description: "Image Tag" value: ${{ steps.set_tag.outputs.tag }} @@ -71,6 +74,7 @@ runs: - name: Build Docker images uses: docker/build-push-action@v6 + id: build-and-push with: push: ${{ inputs.push }} file: ${{ inputs.file }}