Skip to content

Commit

Permalink
Merge pull request #302 from DFE-Digital/new-tf-use-ghcr
Browse files Browse the repository at this point in the history
Specify registry url with new form of docker image name
  • Loading branch information
albal authored Oct 11, 2023
2 parents 423c23a + df1ed6f commit 05ce82b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Terraform/application.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ resource "azurerm_linux_web_app" "linux-web-app" {

site_config {
application_stack {
docker_image_name = "ghcr.io/dfe-digital/childrens-social-care-cpd:${nonsensitive(var.cpd_image_tag)}"
docker_registry_url = "https://ghcr.io"
docker_image_name = "dfe-digital/childrens-social-care-cpd:${nonsensitive(var.cpd_image_tag)}"
}
}

Expand Down Expand Up @@ -69,7 +70,8 @@ resource "azurerm_linux_web_app_slot" "staging" {

site_config {
application_stack {
docker_image_name = "ghcr.io/dfe-digital/childrens-social-care-cpd:${nonsensitive(var.cpd_image_tag)}"
docker_registry_url = "https://ghcr.io"
docker_image_name = "dfe-digital/childrens-social-care-cpd:${nonsensitive(var.cpd_image_tag)}"
}

ip_restriction {
Expand Down

0 comments on commit 05ce82b

Please sign in to comment.