diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 6a71478a..1ab7963d 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -7,7 +7,7 @@ on: branches: [ main ] env: - REGISTRY_URL: docker-registry:5000 # Via host-gateway mapping + REGISTRY_URL: docker-registry:5000 # Container network access IMAGE_NAME: michaelschiemer jobs: @@ -15,17 +15,14 @@ jobs: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest - options: --add-host=gitea:host-gateway --add-host=docker-registry:host-gateway services: redis: image: redis:8-alpine - 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: --add-host=gitea:host-gateway --add-host=docker-registry:host-gateway steps: - name: Checkout Code @@ -65,7 +62,6 @@ jobs: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest - options: --add-host=gitea:host-gateway --add-host=docker-registry:host-gateway if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' steps: