mirror of
https://github.com/ditkrg/build-image-workflow.git
synced 2026-01-23 02:26:43 +00:00
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:
parent
2442fd7725
commit
d683d2ccb2
@ -66,7 +66,7 @@ runs:
|
|||||||
id: run-command
|
id: run-command
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo ${{ steps.meta.outputs.json }} | python -m json.tool
|
echo ${{ steps.meta.outputs.json }} | jq '.tags[0]' -r
|
||||||
|
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user