Skip to content

Commit d4bda6f

Browse files
committed
ci: inspect and check manifest after publishing docker images
1 parent 5e01734 commit d4bda6f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

+11
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,14 @@ jobs:
161161
push: ${{ github.event_name == 'release' }}
162162
tags: ${{ steps.meta.outputs.tags }}
163163
labels: ${{ steps.meta.outputs.labels }}
164+
165+
- name: Check manifest
166+
if: github.event_name == 'release'
167+
run: |
168+
docker buildx imagetools inspect ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }}
169+
170+
- name: Inspect image
171+
if: github.event_name == 'release'
172+
run: |
173+
docker pull ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }}
174+
docker image inspect ${{ github.event.repository.full_name }}:${{ steps.meta.outputs.version }}

0 commit comments

Comments
 (0)