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

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

View file

@ -19,7 +19,9 @@ jobs:
steps:
- name: Environment setup
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
doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key
- name: Repo pull

View file

@ -19,7 +19,9 @@ jobs:
steps:
- name: Environment setup
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
doas curl -JO https://forge.ilot.io/api/packages/ilot/alpine/key
- name: Repo pull