From dffb9d8af12fa35d7f82930da92d2a86662b26e0 Mon Sep 17 00:00:00 2001 From: Brian Bjarke Jensen Date: Fri, 3 Oct 2025 23:40:01 +0200 Subject: [PATCH] corrected endpoint and added auth --- .gitea/workflows/update.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/update.yml b/.gitea/workflows/update.yml index 74c34b8..118904f 100644 --- a/.gitea/workflows/update.yml +++ b/.gitea/workflows/update.yml @@ -36,7 +36,8 @@ jobs: fi # Get the manifest for the specific platform PLATFORM_MANIFEST=$(curl -s -H "Accept: application/vnd.docker.distribution.manifest.v2+json" \ - "http://gitea.gt-proj.com/v2/brian/mlflow-full/manifests/$DIGEST" 2>/dev/null || echo "{}") + -H "Authorization: Bearer ${{ secrets.CI_RUNNER_TOKEN }}" \ + "https://gitea.gt-proj.com/v2/brian/mlflow-full/manifests/$DIGEST" 2>/dev/null || echo "{}") if [ "$PLATFORM_MANIFEST" == "{}" ]; then echo "digest_found=false" >> $GITHUB_OUTPUT echo "Failed to fetch platform-specific manifest"