diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 682056e..222f928 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -45,6 +45,9 @@ jobs: runs-on: ubuntu-latest container: image: mcr.microsoft.com/dotnet/sdk:10.0 + # host-gateway → docker bridge IP (172.17.0.1); Gitea port 3000 is + # published there, so 'gitea' hostname resolves from inside the job container + options: --add-host=gitea:host-gateway services: postgres: image: postgres:16-alpine @@ -94,6 +97,7 @@ jobs: runs-on: ubuntu-latest container: image: mcr.microsoft.com/dotnet/sdk:10.0 + options: --add-host=gitea:host-gateway steps: - name: Checkout env: @@ -118,6 +122,7 @@ jobs: runs-on: ubuntu-latest container: image: node:20-alpine + options: --add-host=gitea:host-gateway steps: - name: Checkout env: @@ -147,6 +152,7 @@ jobs: runs-on: ubuntu-latest container: image: node:20-alpine + options: --add-host=gitea:host-gateway steps: - name: Checkout env: @@ -176,6 +182,7 @@ jobs: runs-on: ubuntu-latest container: image: node:20-alpine + options: --add-host=gitea:host-gateway steps: - name: Checkout env: @@ -205,6 +212,7 @@ jobs: runs-on: ubuntu-latest container: image: node:20-alpine + options: --add-host=gitea:host-gateway steps: - name: Checkout env: