corrected endpoint and added auth
This commit is contained in:
@@ -36,7 +36,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
# Get the manifest for the specific platform
|
# Get the manifest for the specific platform
|
||||||
PLATFORM_MANIFEST=$(curl -s -H "Accept: application/vnd.docker.distribution.manifest.v2+json" \
|
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
|
if [ "$PLATFORM_MANIFEST" == "{}" ]; then
|
||||||
echo "digest_found=false" >> $GITHUB_OUTPUT
|
echo "digest_found=false" >> $GITHUB_OUTPUT
|
||||||
echo "Failed to fetch platform-specific manifest"
|
echo "Failed to fetch platform-specific manifest"
|
||||||
|
|||||||
Reference in New Issue
Block a user