Fix build: Try token-only URL format for Gitea dependency
Some checks failed
Build and Push Docker Image / build (push) Failing after 11s
Some checks failed
Build and Push Docker Image / build (push) Failing after 11s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user