mirror of
https://github.com/ditkrg/build-image-workflow.git
synced 2026-01-22 20:36:46 +00:00
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.
This commit is contained in:
parent
03f50cfd52
commit
a126631a61
@ -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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user