Skip to content

Commit 1e05e63

Browse files
committed
fix multi-arch external trigger
1 parent 7c74f18 commit 1e05e63

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/external_trigger.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
token=$(curl -sX GET \
3535
"https://ghcr.io/token?scope=repository%3Alinuxserver%2Fldap-auth%3Apull" \
3636
| jq -r '.token')
37-
if [ "${MULTIARCH}" == "true" ]; then
3837
multidigest=$(curl -s \
3938
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
4039
--header "Authorization: Bearer ${token}" \
@@ -45,13 +44,6 @@ jobs:
4544
--header "Authorization: Bearer ${token}" \
4645
"https://ghcr.io/v2/${image}/manifests/${multidigest}" \
4746
| jq -r '.config.digest')
48-
else
49-
digest=$(curl -s \
50-
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
51-
--header "Authorization: Bearer ${token}" \
52-
"https://ghcr.io/v2/${image}/manifests/${tag}" \
53-
| jq -r '.config.digest')
54-
fi
5547
image_info=$(curl -sL \
5648
--header "Authorization: Bearer ${token}" \
5749
"https://ghcr.io/v2/${image}/blobs/${digest}" \

0 commit comments

Comments
 (0)