Update .github/workflows/dockerhub.yml

This commit is contained in:
Boris 2024-12-17 15:01:36 +01:00 committed by GitHub
parent bc6f371ff9
commit e3a5f0ae0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"