Add command to save meta.json and print its contents

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2024-03-03 14:21:56 +03:00
parent 6fd4e7497d
commit a0a5013f4c
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -66,7 +66,9 @@ runs:
id: run-command
shell: bash
run: |
echo $(echo ${{ steps.meta.outputs.json }} | jq '.tags[0]')
echo ${{ steps.meta.outputs.json }} > meta.json
cat meta.json
# echo $(cat meta.json | jq '.tags[0]')
- name: Login to Registry
uses: docker/login-action@v3