From e1c5036cc5a29985e5aaba013ac95b353529fcc6 Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Fri, 18 Jul 2025 00:17:55 +0200 Subject: [PATCH] chore: update ci-cd.yml --- .gitea/workflows/ci-cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index e8f908e0..953175bb 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -15,17 +15,17 @@ jobs: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest - options: --add-host=gitea:127.0.0.1 --add-host=docker-registry:127.0.0.1 + options: --network host services: redis: image: redis:8-alpine - options: --add-host=gitea:127.0.0.1 --add-host=docker-registry:127.0.0.1 + options: --network host mariadb: image: mariadb:latest env: MYSQL_ROOT_PASSWORD: test MYSQL_DATABASE: test - options: --add-host=gitea:127.0.0.1 --add-host=docker-registry:127.0.0.1 + options: --network host steps: - name: Checkout Code @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest - options: --add-host=gitea:127.0.0.1 --add-host=docker-registry:127.0.0.1 + options: --network host if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' steps: