Skip to content

Commit ec5435a

Browse files
FileSync Updates [skip ci]
1 parent 8627129 commit ec5435a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

update-digests.sh

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
json=$(cat VERSION.json)
33
upstream_image=$(jq -re '.upstream_image' <<< "${json}")
44
upstream_tag=$(jq -re '.upstream_tag' <<< "${json}")
5-
if [[ ${upstream_image} == *"hotio/base" ]]; then
6-
upstream_tag="${upstream_tag}-$(curl -fsSL "https://raw.githubusercontent.com${upstream_image//ghcr.io/}/${upstream_tag}/VERSION.json" | jq -re '.version')" || exit 1
7-
fi
85
manifest=$(skopeo inspect --raw "docker://${upstream_image}:${upstream_tag}") || exit 1
96
upstream_digest_amd64=$(jq -re '.manifests[] | select (.platform.architecture == "amd64" and .platform.os == "linux").digest' <<< "${manifest}")
107
upstream_digest_arm64=$(jq -re '.manifests[] | select (.platform.architecture == "arm64" and .platform.os == "linux").digest' <<< "${manifest}")

0 commit comments

Comments
 (0)