From 7a2b1df5bed75940d46d45e2b662e77f2758b1ea Mon Sep 17 00:00:00 2001 From: Ryan Lim Date: Fri, 11 Aug 2023 17:23:53 -0700 Subject: [PATCH] fix docker clobbering --- Makefile | 1 + main.tf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index beec8adb..c6f9d5b7 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,7 @@ localstack-test: image start-localstack wait-for-healthy deploy-localstack test image: source environment.test; \ docker buildx build --platform linux/amd64 --cache-from ghcr.io/chanzuckerberg/swipe:latest -t ghcr.io/chanzuckerberg/swipe:$$(cat version) . + docker tag ghcr.io/chanzuckerberg/swipe:$$(cat version) swipe:$$(cat version) wait-for-healthy: while true; do \ diff --git a/main.tf b/main.tf index f9e8687f..f9d2877b 100644 --- a/main.tf +++ b/main.tf @@ -49,7 +49,7 @@ locals { module "sfn" { source = "./terraform/modules/swipe-sfn" app_name = var.app_name - batch_job_docker_image = "ghcr.io/chanzuckerberg/swipe:${chomp(local.version)}" + batch_job_docker_image = "swipe:${chomp(local.version)}" batch_spot_job_queue_arn = module.batch_queue.batch_spot_job_queue_arn batch_on_demand_job_queue_arn = module.batch_queue.batch_on_demand_job_queue_arn miniwdl_dir = var.miniwdl_dir