From 5a961a3f28bf1e3ad8ba67d414a9e5dba66da78f Mon Sep 17 00:00:00 2001 From: b3nw Date: Sat, 25 Apr 2026 01:00:47 +0000 Subject: [PATCH] fix(ci): use username:token format for HTTPS git auth --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 82f398c..5acb615 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ WORKDIR /app ARG GIT_TOKEN="" RUN if [ -n "$GIT_TOKEN" ]; then \ - git config --global url."https://${GIT_TOKEN}@gitea.ext.ben.io/".insteadOf "ssh://gitea@git.local.ben.io/" && \ - git config --global --add url."https://${GIT_TOKEN}@gitea.ext.ben.io/".insteadOf "ssh://git.local.ben.io/"; \ + git config --global url."https://b3nw:${GIT_TOKEN}@gitea.ext.ben.io/".insteadOf "ssh://gitea@git.local.ben.io/" && \ + git config --global --add url."https://b3nw:${GIT_TOKEN}@gitea.ext.ben.io/".insteadOf "ssh://git.local.ben.io/"; \ fi COPY pyproject.toml uv.lock ./