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