File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ jobs:
127127 POSTGRES_USER : ${{ secrets.DATABASE_USER }}
128128 POSTGRES_PASSWORD : ${{ secrets.DATABASE_PASSWORD }}
129129 POSTGRES_DB : ${{ secrets.DATABASE_NAME }}
130- POSTGRES_PORT : ${{ secrets.DATABASE_PORT }}
130+ POSTGRES_PORT : ${{ vars.POSTGRES_PORT }}
131131 services :
132132 postgres :
133133 image : postgres:16-alpine
@@ -141,7 +141,7 @@ jobs:
141141 --health-timeout 5s
142142 --health-retries 5
143143 ports :
144- - ${{ env .POSTGRES_PORT }}:5432
144+ - " ${{ vars .POSTGRES_PORT }}:5432"
145145
146146
147147 steps :
@@ -152,6 +152,7 @@ jobs:
152152 # CI tooling vars (TF_VERSION, REGISTRY) from config/.env.test
153153 run : |
154154 grep -v '^\s*#' config/.env.test | grep -v '^\s*$' >> $GITHUB_ENV
155+ echo "POSTGRES_PORT=${{ vars.POSTGRES_PORT }}" >> $GITHUB_ENV
155156
156157 - uses : actions/setup-python@v5
157158 with :
You can’t perform that action at this time.
0 commit comments