mirror of
https://github.com/ditkrg/build-image-workflow.git
synced 2026-01-22 21:27:05 +00:00
Update action.yml to use environment variable for image tag
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
3aeafad034
commit
51293f0a01
@ -28,7 +28,7 @@ inputs:
|
||||
outputs:
|
||||
tag:
|
||||
description: "Image Tag"
|
||||
value: ${{ steps.set_tag.outputs.tag }}
|
||||
value: ${{ env.tag }}
|
||||
tags:
|
||||
description: "Image Tags"
|
||||
value: ${{ steps.meta.outputs.tags }}
|
||||
@ -92,6 +92,6 @@ runs:
|
||||
echo "Extracted element: $extracted_element"
|
||||
|
||||
|
||||
echo "tag='$extracted_element'" >> $GITHUB_OUTPUT
|
||||
echo "tag=$extracted_element" >> $GITHUB_ENV
|
||||
env:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user