[appimage] Fix: DNS-Konfiguration für DinD-Container
Some checks failed
Build AppImage / build (push) Failing after 1m49s
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:
parent
2cd721dd97
commit
51b5a58c63
1 changed files with 7 additions and 0 deletions
|
|
@ -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}" \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue