File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4141 # Build a docker container and
4242 # push it to ECR so that it can
4343 # be deployed to ECS.
44- docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
44+ docker build --build-arg ENV_NAME=prod - t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
4545 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
4646 echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
4747
Original file line number Diff line number Diff line change 4141 # Build a docker container and
4242 # push it to ECR so that it can
4343 # be deployed to ECS.
44- docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
44+ docker build --build-arg ENV_NAME=qa - t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
4545 docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
4646 echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT
4747
You can’t perform that action at this time.
0 commit comments