2
0
Fork 0
mirror of https://github.com/redhat-actions/buildah-build.git synced 2025-06-27 16:25:53 +00:00

Inspect labels outputs

This commit is contained in:
なつき 2021-10-18 22:13:44 -07:00
parent 60435cd19f
commit a6522508cb

View file

@ -77,3 +77,11 @@ jobs:
# Check if image is build
- name: Check images created
run: buildah images | grep '${{ env.IMAGE_NAME }}'
- name: Check image metadata
run: |
set -x
buildah inspect ${{ steps.build_image.outputs.image-with-tag }} | jq '.OCIv1.config.Labels."org.opencontainers.image.title"'
buildah inspect ${{ steps.build_image.outputs.image-with-tag }} | jq '.OCIv1.config.Labels."org.opencontainers.image.description"'
buildah inspect ${{ steps.build_image.outputs.image-with-tag }} | jq '.Docker.config.Labels."org.opencontainers.image.title"'
buildah inspect ${{ steps.build_image.outputs.image-with-tag }} | jq '.Docker.config.Labels."org.opencontainers.image.description"'