ci: restore public Gitea package endpoint

This commit is contained in:
justme committed 2026-10-04 23:11:37 +08:00
1 parent 31af31b96f
commit c33003c279
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ version="${CI_COMMIT_TAG#v}"
[[ -n "${GITEA_TOKEN:-}" ]] || { echo "GITEA_TOKEN is required" >&2; exit 2; }
[[ -n "${ZOT_USERNAME:-}" && -n "${ZOT_PASSWORD:-}" ]] || { echo "Zot credentials are required" >&2; exit 2; }
gitea_base="${GITEA_BASE:-http://gitea:3000}"
gitea_base="${GITEA_BASE:-https://git.oeo.one}"
gitea_host="${gitea_base#https://}"
gitea_host="${gitea_host#http://}"
gitea_host="${gitea_host%%/*}"