File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ json=$(cat meta.json)
55upstream_image=$( jq -re ' .upstream_image' <<< " ${json}" )
66upstream_image_base=$( basename " ${upstream_image} " )
77upstream_tag=$( jq -re ' .upstream_tag' <<< " ${json}" )
8- tags_json=$( curl -fsSL " https://hotio.dev/containers/${upstream_image_base} -tags.json" )
8+ tags_json=$( curl -fsSL --header " Authorization: Bearer ${GITHUB_TOKEN} " " https://hotio.dev/containers/${upstream_image_base} -tags.json" )
99commit_sha=$( jq -r --arg tag " ${upstream_tag} " ' .[$tag].commit_sha' <<< " ${tags_json}" )
1010upstream_tag_sha=${upstream_tag} -${commit_sha: 0: 7}
1111jq --sort-keys \
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -exuo pipefail
33
4- version_apprise=$( curl -fsSL " https://api.github.com/repos/caronc/apprise/releases/latest" | jq -re .tag_name)
4+ version_apprise=$( curl -fsSL --header " Authorization: Bearer ${GITHUB_TOKEN} " " https://api.github.com/repos/caronc/apprise/releases/latest" | jq -re .tag_name)
55json=$( cat meta.json)
66jq --sort-keys \
77 --arg version_apprise " ${version_apprise// v/ } " \
You can’t perform that action at this time.
0 commit comments