1 Commits
Author SHA1 Message Date
phoenix 2880e4142f Updated docker (#1)
Go / build (push) Successful in 39s
Go / build (pull_request) Successful in 1m10s
Reviewed-on: #1
2026-05-29 18:50:00 -04:00
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -36,6 +36,8 @@ jobs:
cat > ~/.gitconfig << "EOF" cat > ~/.gitconfig << "EOF"
[url "ssh://git@${{ secrets.GIT_HOST_ROOT }}"] [url "ssh://git@${{ secrets.GIT_HOST_ROOT }}"]
insteadOf = https://${{ secrets.GIT_HOST_ROOT }} insteadOf = https://${{ secrets.GIT_HOST_ROOT }}
[url "ssh://git@${{ secrets.GIT_HOST_ROOT }}"]
insteadOf = http://${{ secrets.GIT_HOST_ROOT }}
EOF EOF
make build make build
+2 -1
View File
@@ -10,7 +10,8 @@ RUN mkdir -p -m 0700 ~/.ssh && \
ssh-keyscan git.kundeng.us >> ~/.ssh/known_hosts ssh-keyscan git.kundeng.us >> ~/.ssh/known_hosts
# Configure Git to use SSH for GitHub # Configure Git to use SSH for GitHub
RUN git config --global url."ssh://git@git.kundeng.us".insteadOf "https://git.kundeng.us" RUN git config --global url."git@git.kundeng.us:".insteadOf "https://git.kundeng.us/" && \
git config --global url."git@git.kundeng.us:".insteadOf "http://git.kundeng.us/"
# Set up the Go environment for private modules # Set up the Go environment for private modules
ENV GOPRIVATE=git.kundeng.us ENV GOPRIVATE=git.kundeng.us