forgejo-ci: add hostname to hosts
This commit is contained in:
parent
3d8dd9919a
commit
f8e536af99
2 changed files with 6 additions and 2 deletions
|
@ -19,7 +19,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
run: |
|
run: |
|
||||||
doas apk add nodejs git patch curl
|
doas apk add nodejs git patch curl sed bash
|
||||||
|
read _hostname < /etc/hostname
|
||||||
|
doas sed -i "s|host.docker.internal|host.docker.internal $_hostname|" /etc/hosts
|
||||||
cd /etc/apk/keys
|
cd /etc/apk/keys
|
||||||
doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key
|
doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key
|
||||||
- name: Repo pull
|
- name: Repo pull
|
||||||
|
|
|
@ -19,7 +19,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
run: |
|
run: |
|
||||||
doas apk add nodejs git patch curl
|
doas apk add nodejs git patch curl sed bash
|
||||||
|
read _hostname < /etc/hostname
|
||||||
|
doas sed -i "s|host.docker.internal|host.docker.internal $_hostname|" /etc/hosts
|
||||||
cd /etc/apk/keys
|
cd /etc/apk/keys
|
||||||
doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key
|
doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key
|
||||||
- name: Repo pull
|
- name: Repo pull
|
||||||
|
|
Loading…
Add table
Reference in a new issue