Clone from public URL, not GITHUB_SERVER_URL (resolves to localhost in runner)
All checks were successful
Mirror to GitHub / mirror (push) Successful in 1m25s
All checks were successful
Mirror to GitHub / mirror (push) Successful in 1m25s
The Forgejo runner injects GITHUB_SERVER_URL as http://localhost:3002, which is unreachable from inside the job container. Use the public URL instead. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
482348e3cf
commit
b528706ef1
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
useradd -m builder
|
||||
git config --global --add safe.directory '*'
|
||||
git clone --branch "${GITHUB_REF_NAME}" --depth 1 \
|
||||
"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" /home/builder/src
|
||||
"https://git.breadway.dev/${GITHUB_REPOSITORY}.git" /home/builder/src
|
||||
cd /home/builder/src
|
||||
git archive --format=tar.gz --prefix="breadbar-${VERSION}/" HEAD \
|
||||
> packaging/arch/breadbar-${VERSION}.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue