Update release.yml

This commit is contained in:
Antony Messerli 2023-06-10 14:08:23 -05:00 committed by GitHub
parent fc9071fb58
commit 047ff1d1ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,8 +53,9 @@ jobs:
| jq -r '.token') | jq -r '.token')
TAG=$(curl -s --header "Accept: application/vnd.docker.distribution.manifest.v2+json" \ TAG=$(curl -s --header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
--header "Authorization: Bearer ${TOKEN}" \ --header "Authorization: Bearer ${TOKEN}" \
"https://ghcr.io/v2/${IMAGE}/tags/list\?n\=1000" \ "https://ghcr.io/v2/${IMAGE}/tags/list?n=1000" \
| jq -r '.tags[-1]') | jq -r '.tags[-1]')
echo LATEST_TAG: $TAG
MULTIDIGEST=$(curl -s \ MULTIDIGEST=$(curl -s \
--header "Accept: application/vnd.docker.distribution.manifest.v2+json" \ --header "Accept: application/vnd.docker.distribution.manifest.v2+json" \
--header "Authorization: Bearer ${TOKEN}" \ --header "Authorization: Bearer ${TOKEN}" \