mirror of
https://github.com/ManiMatter/decluttarr.git
synced 2026-04-21 00:05:35 +02:00
test
This commit is contained in:
5
.github/workflows/main-multiX.yml
vendored
5
.github/workflows/main-multiX.yml
vendored
@@ -62,9 +62,12 @@ jobs:
|
||||
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_amd64
|
||||
manifest_digest_arm64=$(docker manifest inspect $IMAGE_NAME:$IMAGE_TAG | jq -r '.manifests[] | select(.platform.architecture=="arm64") | .digest')
|
||||
echo manifest_digest_amd64
|
||||
manifest_digest_unknown=$(docker manifest inspect $IMAGE_NAME:$IMAGE_TAG | jq -r '.manifests[] | select(.platform.architecture!="amd64" and .platform.architecture!="arm64") | .digest')
|
||||
|
||||
echo manifest_digest_unknown
|
||||
|
||||
# Add label for amd64
|
||||
if [ ! -z "$manifest_digest_amd64" ]; then
|
||||
docker manifest annotate "$IMAGE_NAME:$IMAGE_TAG" "$IMAGE_NAME:$IMAGE_TAG-amd64" --os=linux --arch=amd64 "$manifest_digest_amd64" || true
|
||||
|
||||
Reference in New Issue
Block a user