[appimage] Fix: DNS-Konfiguration für DinD-Container
Some checks failed
Build AppImage / build (push) Failing after 1m49s

- Container-Options: --dns 8.8.8.8 --dns 1.1.1.1
- Fallback-Step: /etc/resolv.conf ergänzen
- Löst "Could not resolve host" im Forgejo Runner

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Eddy 2026-04-15 14:47:42 +02:00
parent 2cd721dd97
commit 51b5a58c63

View file

@ -16,8 +16,15 @@ jobs:
if: contains(github.event.head_commit.message, '[appimage]') || startsWith(github.ref, 'refs/tags/v') if: contains(github.event.head_commit.message, '[appimage]') || startsWith(github.ref, 'refs/tags/v')
container: container:
image: rust:1.83-bookworm image: rust:1.83-bookworm
options: --dns 8.8.8.8 --dns 1.1.1.1
steps: steps:
- name: Configure DNS Fallback
run: |
# DNS-Fix für DinD-Umgebung
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
echo "nameserver 1.1.1.1" >> /etc/resolv.conf
- name: Checkout - name: Checkout
run: | run: |
git clone --depth 1 --branch "${GITHUB_REF_NAME}" \ git clone --depth 1 --branch "${GITHUB_REF_NAME}" \