From a6522508cbf9cf00529a052a7edb27b11d6e4814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Mon, 18 Oct 2021 22:13:44 -0700 Subject: [PATCH] Inspect labels outputs --- .github/workflows/docker_metadata_action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docker_metadata_action.yml b/.github/workflows/docker_metadata_action.yml index 71997c3..03f91ef 100644 --- a/.github/workflows/docker_metadata_action.yml +++ b/.github/workflows/docker_metadata_action.yml @@ -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"'