rm dns
This commit is contained in:
parent
27c585a78c
commit
ef307c9d6d
|
@ -16,9 +16,10 @@ jobs:
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
- run: |
|
- run: |
|
||||||
echo "nameserver 180.184.1.1" >/etc/resolv.conf
|
|
||||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.volces.com/g' /etc/apk/repositories
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.volces.com/g' /etc/apk/repositories
|
||||||
apk update && apk add --no-cache docker && npm config set registry https://registry.npmmirror.com
|
apk update
|
||||||
|
apk add --no-cache docker
|
||||||
|
npm config set registry https://registry.npmmirror.com
|
||||||
- name: 拉取代码
|
- name: 拉取代码
|
||||||
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
|
uses: https://${{ env.DOMAIN }}/actions/checkout@v4
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
|
Loading…
Reference in New Issue