From 2e1c733c7fbe6158f81fd4c27fd576b110c17507 Mon Sep 17 00:00:00 2001 From: David Ugbero Date: Wed, 17 Jul 2024 17:21:45 +0100 Subject: [PATCH] debug: set arg_env to in docker build --- .github/workflows/testnet.deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testnet.deploy.yaml b/.github/workflows/testnet.deploy.yaml index 7f159f14..1eeafc58 100644 --- a/.github/workflows/testnet.deploy.yaml +++ b/.github/workflows/testnet.deploy.yaml @@ -14,7 +14,7 @@ env: ECS_TASK_DEFINITION: dao-frontend-testnet CONTAINER_NAME: rif-dao-frontend - PROFILE: dao + PROFILE: testnet jobs: deploy: @@ -47,7 +47,7 @@ jobs: # Build a docker container and # push it to ECR so that it can # be deployed to ECS. - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG --build-arg arg_profile="$PROFILE" --no-cache . + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG --build-arg arg_env="$PROFILE" --no-cache . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"