forgejo-ci: add hostname to hosts
Some checks failed
/ deploy-x86_64 (pull_request) Has been skipped
/ build-x86_64 (pull_request) Failing after 19s
/ lint (pull_request) Successful in 23s
/ deploy-aarch64 (pull_request) Has been skipped
/ build-aarch64 (pull_request) Failing after 29s

This commit is contained in:
Antoine Martin 2024-09-20 16:27:13 -04:00
parent 3d8dd9919a
commit da94a0bd38
Signed by: ayakael
GPG key ID: D62A472A4AA7D541
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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