Fix build: Try token-only URL format for Gitea dependency
Some checks failed
Build and Push Docker Image / build (push) Failing after 11s

This commit is contained in:
2026-04-24 01:48:17 +00:00
parent 76e19a82dc
commit 02ac293692

View File

@@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Use Gitea PAT for private dependencies if provided
ARG GITEA_TOKEN
RUN if [ -n "$GITEA_TOKEN" ]; then \
git config --global url."https://b3nw:${GITEA_TOKEN}@gitea.ext.ben.io/".insteadOf "https://gitea.ext.ben.io/"; \
git config --global url."https://${GITEA_TOKEN}@gitea.ext.ben.io/".insteadOf "https://gitea.ext.ben.io/"; \
fi
# Install dependencies