Skip to content

Commit 87b86d7

Browse files
committed
add option to inspect the image
1 parent 71db62b commit 87b86d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,11 @@ runs:
214214
if: ${{ inputs.inspect }} == 'true'
215215
shell: bash
216216
run: |
217-
docker pull "${{ inputs.registry }}/${{ steps.image_name.outputs.image_name }}:${{ steps.tag.outputs.output }}
217+
docker pull "${{ inputs.registry }}/${{ steps.image_name.outputs.image_name }}:${{ steps.tag.outputs.output }}"
218218
docker inspect "${{ inputs.registry }}/${{ steps.image_name.outputs.image_name }}:${{ steps.tag.outputs.output }}" > inspect.json
219219
metadata=$(jq -c < inspect.json)
220220
echo "metadata=$metadata" >> $GITHUB_OUTPUT
221221
echo "## Docker Image Inspect" >> $GITHUB_STEP_SUMMARY
222222
echo '```json' >> $GITHUB_STEP_SUMMARY
223223
cat inspect.json >> $GITHUB_STEP_SUMMARY
224-
echo '```' >> $GITHUB_STEP_SUMMARY
224+
echo '```' >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)