mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2025-08-07 14:47:24 +02:00
Update release.yml
This commit is contained in:
parent
fc9071fb58
commit
047ff1d1ae
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -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}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user