ci: inspect and check manifest after publishing docker images

This commit is contained in:
CrazyMax 2023-02-26 12:25:51 +01:00
parent 5e01734c1e
commit d4bda6f3de
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -161,3 +161,14 @@ jobs:
push: ${{ github.event_name == 'release' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Check manifest
if: github.event_name == 'release'
run: |
docker buildx imagetools inspect ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }}
- name: Inspect image
if: github.event_name == 'release'
run: |
docker pull ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }}
docker image inspect ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }}