Update action.yml to extract the first tag from JSON output

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2024-03-03 14:16:09 +03:00
parent 2442fd7725
commit d683d2ccb2
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -66,7 +66,7 @@ runs:
id: run-command
shell: bash
run: |
echo ${{ steps.meta.outputs.json }} | python -m json.tool
echo ${{ steps.meta.outputs.json }} | jq '.tags[0]' -r
- name: Login to Registry
uses: docker/login-action@v3