Skip to content

Commit

Permalink
FileSync Updates [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 11, 2024
1 parent ddcf332 commit acc1233
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions update-digests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
json=$(cat VERSION.json)
upstream_image=$(jq -re '.upstream_image' <<< "${json}")
upstream_tag=$(jq -re '.upstream_tag' <<< "${json}")
if [[ ${upstream_image} == *"hotio/base" ]]; then
upstream_tag="${upstream_tag}-$(curl -fsSL "https://raw.githubusercontent.com${upstream_image//ghcr.io/}/${upstream_tag}/VERSION.json" | jq -re '.version')" || exit 1
fi
manifest=$(skopeo inspect --raw "docker://${upstream_image}:${upstream_tag}") || exit 1
upstream_digest_amd64=$(jq -re '.manifests[] | select (.platform.architecture == "amd64" and .platform.os == "linux").digest' <<< "${manifest}")
upstream_digest_arm64=$(jq -re '.manifests[] | select (.platform.architecture == "arm64" and .platform.os == "linux").digest' <<< "${manifest}")
Expand Down

0 comments on commit acc1233

Please sign in to comment.