fix: use arvancloud Alpine mirror (Liara returns 500), remove unused proxy
This commit is contained in:
parent
6d3e6d18a1
commit
9cf11a0e49
@ -9,19 +9,12 @@ jobs:
|
|||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: sh
|
shell: sh
|
||||||
env:
|
|
||||||
http_proxy: http://172.17.0.1:3001
|
|
||||||
https_proxy: http://172.17.0.1:3001
|
|
||||||
HTTP_PROXY: http://172.17.0.1:3001
|
|
||||||
HTTPS_PROXY: http://172.17.0.1:3001
|
|
||||||
no_proxy: 172.17.0.1,localhost,127.0.0.1
|
|
||||||
NO_PROXY: 172.17.0.1,localhost,127.0.0.1
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install SSH client
|
- name: Install SSH client
|
||||||
run: |
|
run: |
|
||||||
V=$(cut -d'.' -f1-2 /etc/alpine-release)
|
V=$(cut -d'.' -f1-2 /etc/alpine-release)
|
||||||
echo "https://linux-mirror.liara.ir/repository/alpine/v$V/main" > /etc/apk/repositories
|
echo "https://mirror.arvancloud.ir/alpine/v$V/main" > /etc/apk/repositories
|
||||||
echo "https://linux-mirror.liara.ir/repository/alpine/v$V/community" >> /etc/apk/repositories
|
echo "https://mirror.arvancloud.ir/alpine/v$V/community" >> /etc/apk/repositories
|
||||||
apk add --no-cache openssh-client
|
apk add --no-cache openssh-client
|
||||||
- name: Setup SSH key
|
- name: Setup SSH key
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user