Skip to content

Commit 60adb06

Browse files
authored
fixed makefile (#22)
1 parent a43d80d commit 60adb06

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ SERVICE_TAG=${tag}
88
AWS_REGION=us-west-2
99
ECR=${AWS_ACCT}.dkr.ecr.us-west-2.amazonaws.com
1010
ECS_API_REPO=${ECR}/${API}
11-
INTERNAL_REPO=${ECR}/internal
11+
INTERNAL_REPO=${ECR}/admin
1212

1313
all: build push deploy
14+
all-internal: build-internal push-internal deploy-internal
1415

1516
test-envvars:
1617
@[ "${env}" ] || ( echo "env var is not set"; exit 1 )
@@ -37,4 +38,4 @@ push-internal:test-envvars
3738
docker push $(INTERNAL_REPO):${SERVICE_TAG}
3839

3940
deploy-internal: test-envvars
40-
aws ecs --region $(AWS_REGION) update-service --cluster internal --service internal --force-new-deployment
41+
aws ecs --region $(AWS_REGION) update-service --cluster admin --service admin --force-new-deployment

0 commit comments

Comments
 (0)