fix(ci): install git via apk before clone in node:22-alpine image
This commit is contained in:
@@ -33,6 +33,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GIT_SSL_NO_VERIFY: "1"
|
GIT_SSL_NO_VERIFY: "1"
|
||||||
run: |
|
run: |
|
||||||
|
apk add --no-cache git
|
||||||
git clone --depth 1 \
|
git clone --depth 1 \
|
||||||
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \
|
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \
|
||||||
.
|
.
|
||||||
@@ -67,6 +68,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GIT_SSL_NO_VERIFY: "1"
|
GIT_SSL_NO_VERIFY: "1"
|
||||||
run: |
|
run: |
|
||||||
|
apk add --no-cache git
|
||||||
git clone --depth 1 \
|
git clone --depth 1 \
|
||||||
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \
|
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \
|
||||||
.
|
.
|
||||||
|
|||||||
Reference in New Issue
Block a user