mirror of
https://github.com/ditkrg/build-image-workflow.git
synced 2026-01-23 06:16:55 +00:00
Add command to save meta.json and print its contents
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
6fd4e7497d
commit
a0a5013f4c
@ -66,7 +66,9 @@ runs:
|
|||||||
id: run-command
|
id: run-command
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user