Skip to content

Commit

Permalink
Update build.pkr.hcl to include AWS ECR repository information
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Arnold committed Aug 26, 2024
1 parent bf378c2 commit 81c9f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ locals {
}

source "docker" "docker" {
image = "${local.source_docker_repo}/${local.source_image}:${local.source_tag}"
image = "${local.aws_account_id}.dkr.ecr.${local.aws_region}.amazonaws.com/${local.source_docker_repo}/${local.source_image}:${local.source_tag}"
commit = true
ecr_login = true
login_server = "${local.aws_account_id}.dkr.ecr.${local.aws_region}.amazonaws.com"
Expand Down

0 comments on commit 81c9f61

Please sign in to comment.