Update action.yml to use environment variable for image tag

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2024-03-06 11:25:43 +03:00
parent 3aeafad034
commit 51293f0a01
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -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 }}