corrected endpoint and added auth

This commit is contained in:
Brian Bjarke Jensen
2025-10-03 23:40:01 +02:00
parent 8fb8d80d94
commit dffb9d8af1
+2 -1
View File
@@ -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"