From 86f13113840eb11167186c90f671ea977e37e554 Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Fri, 18 Jul 2025 00:31:14 +0200 Subject: [PATCH] chore: update ci-cd.yml --- .gitea/workflows/ci-cd.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 953175bb..6a71478a 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -7,7 +7,7 @@ on: branches: [ main ] env: - REGISTRY_URL: 127.0.0.1:5000 # Host network access + REGISTRY_URL: docker-registry:5000 # Via host-gateway mapping IMAGE_NAME: michaelschiemer jobs: @@ -15,17 +15,17 @@ jobs: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest - options: --network host + options: --add-host=gitea:host-gateway --add-host=docker-registry:host-gateway services: redis: image: redis:8-alpine - options: --network host + options: --add-host=gitea:host-gateway --add-host=docker-registry:host-gateway mariadb: image: mariadb:latest env: MYSQL_ROOT_PASSWORD: test MYSQL_DATABASE: test - options: --network host + options: --add-host=gitea:host-gateway --add-host=docker-registry:host-gateway steps: - name: Checkout Code @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest - options: --network host + options: --add-host=gitea:host-gateway --add-host=docker-registry:host-gateway if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' steps: