Skip to content

Commit

Permalink
debug: set arg_env to in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
david-iov committed Jul 17, 2024
1 parent f15ca80 commit 2e1c733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testnet.deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
ECS_TASK_DEFINITION: dao-frontend-testnet
CONTAINER_NAME: rif-dao-frontend

PROFILE: dao
PROFILE: testnet

jobs:
deploy:
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 2e1c733

Please sign in to comment.