This commit is contained in:
Benjamin Harder
2024-03-29 20:28:06 +01:00
parent 661b858237
commit 357c1280f8

View File

@@ -61,13 +61,13 @@ jobs:
- name: Add architecture-specific labels
run: |
# Get the manifest digest for the image
manifest_digest_amd64=$(docker manifest inspect "$IMAGE_NAME:$IMAGE_TAG" | jq -r '.manifests[] | select(.platform.architecture=="amd64") | .digest')
echo "Manifest digest for amd64: $manifest_digest_amd64"
# # Get the manifest digest for the image
# manifest_digest_amd64=$(docker manifest inspect "$IMAGE_NAME:$IMAGE_TAG" | jq -r '.manifests[] | select(.platform.architecture=="amd64") | .digest')
# echo "Manifest digest for amd64: $manifest_digest_amd64"
# Add tag
docker tag ghcr.io/manimatter/decluttarr:maintestx@sha256:389494656cd076f532bcd59bc459e024295ea88cb450237f3f91243df3412282 ghcr.io/manimatter/decluttarr:maintestx-amd64
# # Add label for amd64
# docker manifest annotate "$IMAGE_NAME:$IMAGE_TAG" "$IMAGE_NAME:$IMAGE_TAG-amd64" --os=linux --arch=amd64