From 57ea5a1428f4468decf6e512f3cb648b1d70859b Mon Sep 17 00:00:00 2001 From: vegardrs Date: Fri, 5 Jul 2024 13:04:18 +0200 Subject: [PATCH] modified: .github/workflows/build_and_push_images.yaml modified: terraform/aca.tf --- .github/workflows/build_and_push_images.yaml | 2 ++ terraform/aca.tf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_push_images.yaml b/.github/workflows/build_and_push_images.yaml index 42d0ede5..4d3a03f0 100644 --- a/.github/workflows/build_and_push_images.yaml +++ b/.github/workflows/build_and_push_images.yaml @@ -4,6 +4,8 @@ on: push: branches: - deploy-infra-terraformv2 + paths-ignore: + - 'terraform/**' permissions: id-token: write diff --git a/terraform/aca.tf b/terraform/aca.tf index 7f5f451f..bf4a641e 100644 --- a/terraform/aca.tf +++ b/terraform/aca.tf @@ -56,7 +56,7 @@ resource "azurerm_container_app" "frontend" { template { container { name = "frontend" - image = "${data.azurerm_container_registry.acr.login_server}/client:latest" + image = "${data.azurerm_container_registry.acr.login_server}/client:2dc207a559bf128e18ef2803bccf6996c9677e2c" cpu = 0.25 memory = "0.5Gi" env { @@ -110,7 +110,7 @@ resource "azurerm_container_app" "backend" { template { container { name = "backend" - image = "${data.azurerm_container_registry.acr.login_server}/server:latest" + image = "${data.azurerm_container_registry.acr.login_server}/server:2dc207a559bf128e18ef2803bccf6996c9677e2c" cpu = 0.25 memory = "0.5Gi" env {