-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathmeta.json
More file actions
17 lines (17 loc) · 2.35 KB
/
Copy pathmeta.json
File metadata and controls
17 lines (17 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"description": "Releases",
"latest": true,
"test_amd64": true,
"test_arm64": true,
"test_url": "http://localhost:8080",
"upstream_image": "ghcr.io/hotio/base",
"upstream_tag": "alpinevpn",
"upstream_tag_sha": "alpinevpn-1e0d32b",
"upstream_tag_sha__command": "json=$(cat meta.json) && upstream_image=$(jq -re '.upstream_image' <<< \"${json}\") && upstream_image_base=$(basename \"${upstream_image}\") && upstream_tag=$(jq -re '.upstream_tag' <<< \"${json}\") && tags_json=$(curl -fsSL ${GITHUB_TOKEN:+--header \"Authorization: Bearer ${GITHUB_TOKEN}\"} \"https://hotio.dev/containers/${upstream_image_base}-tags.json\") && commit_sha=$(jq -r --arg tag \"${upstream_tag}\" '.[$tag].commit_sha' <<< \"${tags_json}\") && upstream_tag_sha=${upstream_tag}-${commit_sha:0:7} && echo \"${upstream_tag_sha}\"",
"version": "5.2.3",
"version__command": "if ! test -f cache-page1.json; then curl -fsSL \"https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/dependency-version.json\" > cache-page1.json; fi && cat cache-page1.json | jq -re '. | \"release-\\(.qbittorrent)_v\\(.libtorrent_1_2)\"' | sed -e \"s/release-//g\" -e \"s/_.*//g\"",
"version_lib1": "release-5.2.3_v1.2.20/5",
"version_lib1__command": "if ! test -f cache-page1.json; then curl -fsSL \"https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/dependency-version.json\" > cache-page1.json; fi && v_lib1=$(cat cache-page1.json | jq -re '. | \"release-\\(.qbittorrent)_v\\(.libtorrent_1_2)\"') && if ! test -f cache-page2.json; then curl -fsSL \"https://github.com/userdocs/qbittorrent-nox-static/releases/download/${v_lib1}/dependency-version.json\" > cache-page2.json; fi && r_lib1=$(cat cache-page2.json | jq -re '.revision') && echo \"${v_lib1}/${r_lib1}\"",
"version_lib2": "release-5.2.3_v2.0.14/5",
"version_lib2__command": "if ! test -f cache-page1.json; then curl -fsSL \"https://github.com/userdocs/qbittorrent-nox-static/releases/latest/download/dependency-version.json\" > cache-page1.json; fi && v_lib2=$(cat cache-page1.json | jq -re '. | \"release-\\(.qbittorrent)_v\\(.libtorrent_2_0)\"') && if ! test -f cache-page2.json; then curl -fsSL \"https://github.com/userdocs/qbittorrent-nox-static/releases/download/${v_lib2}/dependency-version.json\" > cache-page2.json; fi && r_lib2=$(cat cache-page2.json | jq -re '.revision') && echo \"${v_lib2}/${r_lib2}\""
}