File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 8181 PYTHON_VERSION : " 3.10"
8282 WORKFLOW_BRANCH : " new_deployment_no_ports"
8383 POSTGRES_HOSTNAME : postgres_${{ inputs.branch }}_${{ github.run_id }}
84- GH_ACTIONS_SELF_HOSTED_NETWORK_NAME : $GH_ACTIONS_SELF_HOSTED_NETWORK_NAME
8584
8685permissions :
8786 contents : read
@@ -171,6 +170,8 @@ jobs:
171170 --name postgres_${{ inputs.branch }}_${{ github.run_id }}
172171
173172 steps :
173+ - name : Set system env variable to github env
174+ run : echo "GH_ACTIONS_SELF_HOSTED_NETWORK_NAME=${GH_ACTIONS_SELF_HOSTED_NETWORK_NAME}" >> $GITHUB_ENV
174175 - name : Connect service to default network
175176 if : env.GH_ACTIONS_SELF_HOSTED_NETWORK_NAME != ''
176177 run : docker network connect ${{ env.GH_ACTIONS_SELF_HOSTED_NETWORK_NAME }} ${{ env.POSTGRES_HOSTNAME }}
@@ -273,6 +274,8 @@ jobs:
273274 --name postgres_${{ inputs.branch }}_${{ github.job }}
274275
275276 steps :
277+ - name : Set system env variable to github env
278+ run : echo "GH_ACTIONS_SELF_HOSTED_NETWORK_NAME=${GH_ACTIONS_SELF_HOSTED_NETWORK_NAME}" >> $GITHUB_ENV
276279 - name : Connect service to default network
277280 if : env.GH_ACTIONS_SELF_HOSTED_NETWORK_NAME != ''
278281 run : docker network connect ${{ env.GH_ACTIONS_SELF_HOSTED_NETWORK_NAME }} ${{ env.POSTGRES_HOSTNAME }}
You can’t perform that action at this time.
0 commit comments