@@ -248,7 +248,7 @@ jobs:
248
248
packages : write
249
249
250
250
env :
251
- PUSH_PACKAGES : ${{ github.event.action == 'closed' && github.event.pull_request.merged == true && (github.base_ref == 'refs/heads/ main' || startsWith('refs/heads/ hotfix', github.base_ref)) }}
251
+ PUSH_PACKAGES : ${{ github.event.action == 'closed' && github.event.pull_request.merged == true && (github.base_ref == 'main' || startsWith('hotfix', github.base_ref)) }}
252
252
REGISTRY : ghcr.io
253
253
IMAGE_NAME : ${{ github.repository_owner }}/${{ matrix.project }}
254
254
DOCKER_FILE : ./${{ matrix.project }}/Dockerfile.ci
@@ -272,7 +272,7 @@ jobs:
272
272
images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
273
273
tags : |
274
274
unstable
275
- type=raw,value={{ base_ref}}-{{sha}}
275
+ type=raw,value=${{ github. base_ref }}-{{sha}}
276
276
277
277
- name : Download built artifacts
278
278
uses : actions/download-artifact@v3
@@ -289,7 +289,7 @@ jobs:
289
289
tags : ${{ steps.meta.outputs.tags }}
290
290
291
291
unstable-release :
292
- if : github.event.action == 'closed' && github.event.pull_request.merged == true && (github.base_ref == 'refs/heads/ main' || startsWith('refs/heads/ hotfix', github.base_ref))
292
+ if : github.event.action == 'closed' && github.event.pull_request.merged == true && (github.base_ref == 'main' || startsWith('hotfix', github.base_ref))
293
293
runs-on : ubuntu-22.04
294
294
needs :
295
295
- build
@@ -458,7 +458,7 @@ jobs:
458
458
GOOGLE_APPLICATION_CREDENTIALS=./google-application-credentials.json terraform plan --var-file=./env.variables.tfvars
459
459
460
460
- name : Terraform Apply
461
- if : github.event.action == 'closed' && github.event.pull_request.merged == true && github.base_ref == 'refs/heads/ main'
461
+ if : github.event.action == 'closed' && github.event.pull_request.merged == true && github.base_ref == 'main'
462
462
run : |
463
463
GOOGLE_APPLICATION_CREDENTIALS=./google-application-credentials.json terraform apply -auto-approve --var-file=./env.variables.tfvars
464
464
0 commit comments