mirror of
https://github.com/linuxserver/docker-bazarr.git
synced 2025-06-28 01:29:45 -04:00
Bot Updating Templated Files
This commit is contained in:
parent
c3abd5b4c6
commit
2787b232bf
1 changed files with 12 additions and 10 deletions
6
.github/workflows/external_trigger.yml
vendored
6
.github/workflows/external_trigger.yml
vendored
|
@ -45,11 +45,13 @@ jobs:
|
|||
| jq -r '.token')
|
||||
multidigest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Accept: application/vnd.oci.image.index.v1+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${tag}" \
|
||||
| jq -r 'first(.manifests[].digest)')
|
||||
"https://ghcr.io/v2/${image}/manifests/${tag}")
|
||||
multidigest=$(jq -r ".manifests[] | select(.platform.architecture == \"amd64\").digest?" <<< "${multidigest}")
|
||||
digest=$(curl -s \
|
||||
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
||||
--header "Accept: application/vnd.oci.image.manifest.v1+json" \
|
||||
--header "Authorization: Bearer ${token}" \
|
||||
"https://ghcr.io/v2/${image}/manifests/${multidigest}" \
|
||||
| jq -r '.config.digest')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue