@@ -27,19 +27,19 @@ jobs:
2727 with :
2828 creds : ${{ secrets.AZURE_CREDENTIALS }}
2929 - name : Build the docker image
30- run : make build
30+ run : make build_prod
3131 - name : Publish docker image to stage azure container registry
3232 run : |
33- make login publish acr=tt513registry image_tag=$RELEASE_VERSION
34- # - name: Setup terraform
35- # uses: hashicorp/setup-terraform@v1
36- # - name: Authenticate with the TF modules repository
37- # uses: webfactory/[email protected] 38- # with:
39- # ssh-private-key: ${{ secrets.INFRA_TERRAFORM_MODULES_SSH_PRIV_KEY }}
40- # - name: Terraform Init
41- # working-directory: ${{ env.WORKING_DIR }}
42- # run: terraform init
43- # - name: Terraform Apply
44- # working-directory: ${{ env.WORKING_DIR }}
45- # run: terraform apply -lock=false -var-file="${{ env.TF_WORKSPACE }}.tfvars" -var "image_tag=$RELEASE_VERSION" -auto-approve
33+ make login publish_prod acr=tt513registry image_tag=$RELEASE_VERSION
34+ - name : Setup terraform
35+ uses : hashicorp/setup-terraform@v1
36+ - name : Authenticate with the TF modules repository
37+ uses :
webfactory/[email protected] 38+ with :
39+ ssh-private-key : ${{ secrets.INFRA_TERRAFORM_MODULES_SSH_PRIV_KEY }}
40+ - name : Terraform Init
41+ working-directory : ${{ env.WORKING_DIR }}
42+ run : terraform init
43+ - name : Terraform Apply
44+ working-directory : ${{ env.WORKING_DIR }}
45+ run : terraform apply -lock=false -var-file="${{ env.TF_WORKSPACE }}.tfvars" -var "image_tag=$RELEASE_VERSION" -auto-approve
0 commit comments