From d20ec55c037d0a11a0f63d7dcebe2c0373cd3215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=BChringer?= <51900829+puehringer@users.noreply.github.com> Date: Wed, 20 Dec 2023 11:00:14 +0100 Subject: [PATCH] Update build-node-python.yml --- .github/workflows/build-node-python.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-node-python.yml b/.github/workflows/build-node-python.yml index 8161f080..7a04e9c3 100644 --- a/.github/workflows/build-node-python.yml +++ b/.github/workflows/build-node-python.yml @@ -75,6 +75,7 @@ env: PYPI_USERNAME: "datavisyn" PYTHON_VERSION: "3.10" WORKFLOW_BRANCH: "new_deployment_no_ports" + GH_ACTIONS_SELF_HOSTED_NETWORK_NAME: "" permissions: contents: read @@ -160,10 +161,12 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 - ports: - - "5434:5432" + --name postgres steps: + - name: Connect service to default network + if: ${{ env.GH_ACTIONS_SELF_HOSTED_NETWORK_NAME }} + run: docker network connect $GH_ACTIONS_SELF_HOSTED_NETWORK_NAME postgres - name: Checkout source repository uses: actions/checkout@v4 with: @@ -256,8 +259,7 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 - ports: - - "5434:5432" + --name postgres steps: - name: Checkout source repository