feat: added mirror for alpine apk package manager
Some checks failed
CI / build-and-publish (push) Failing after 1s
Some checks failed
CI / build-and-publish (push) Failing after 1s
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -16,8 +16,10 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
ALPINE_MIRROR: ${{ secrets.ALPINE_MIRROR }}
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
echo "$ALPINE_MIRROR" > /etc/apk/repositories
|
||||||
apk add --no-cache git
|
apk add --no-cache git
|
||||||
|
|
||||||
GIT_URL="https://${GITEA_TOKEN}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git"
|
GIT_URL="https://${GITEA_TOKEN}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git"
|
||||||
|
|||||||
Reference in New Issue
Block a user