From a8aaa1ee871d74f39caea3ddc097a967c1895fe2 Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Mon, 14 Dec 2020 08:58:55 +0000 Subject: [PATCH] ci: switch to inspect image --- .github/workflows/buildx.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildx.yml b/.github/workflows/buildx.yml index 4e7403d..6142f91 100644 --- a/.github/workflows/buildx.yml +++ b/.github/workflows/buildx.yml @@ -84,10 +84,10 @@ jobs: platforms: ${{ matrix.docker-file.platforms }} tags: ${{ steps.prepare.outputs.tags }} - - name: Docker Check Manifest - if: always() && github.event_name != 'pull_request' + - name: Inspect Image + if: always() && github.event_name != 'pull_request' && contains(github.ref, 'master') run: | - docker run --rm mplatform/mquery ${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }} + docker buildx imagetools inspect ${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }} - name: Clear if: always() && github.event_name != 'pull_request'