Skip to content

Commit aed33fd

Browse files
committed
add auth [skip ci]
1 parent 10252a9 commit aed33fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

update-upstream.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ json=$(cat meta.json)
55
upstream_image=$(jq -re '.upstream_image' <<< "${json}")
66
upstream_image_base=$(basename "${upstream_image}")
77
upstream_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")
99
commit_sha=$(jq -r --arg tag "${upstream_tag}" '.[$tag].commit_sha' <<< "${tags_json}")
1010
upstream_tag_sha=${upstream_tag}-${commit_sha:0:7}
1111
jq --sort-keys \

update-versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -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)
55
json=$(cat meta.json)
66
jq --sort-keys \
77
--arg version_apprise "${version_apprise//v/}" \

0 commit comments

Comments
 (0)