Update .github/workflows/dockerhub.yml
This commit is contained in:
parent
bc6f371ff9
commit
e3a5f0ae0c
1 changed files with 6 additions and 1 deletions
7
.github/workflows/dockerhub.yml
vendored
7
.github/workflows/dockerhub.yml
vendored
|
|
@ -43,4 +43,9 @@ jobs:
|
|||
|
||||
- name: Verify pushed Docker images
|
||||
run: |
|
||||
echo "Successfully pushed images to Docker Hub"
|
||||
# Verify both platform variants
|
||||
for PLATFORM in "linux/amd64" "linux/arm64"; do
|
||||
echo "Verifying image for $PLATFORM..."
|
||||
docker buildx imagetools inspect "${IMAGE_NAME}:${TAG_VERSION}" --format "{{.Manifest.$PLATFORM.Digest}}"
|
||||
done
|
||||
echo "Successfully verified images in Docker Hub"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue