Skip to content

Commit

Permalink
Test CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Snyder committed Apr 18, 2023
1 parent 5957459 commit c621201
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lambdas/todos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ include .make.pytest
# all targets refer to tasks (instead of files)
.PHONY: *

ID := 732701080264

# set Make variables
ecr := $(AWS_ACCOUNT_ID).dkr.ecr.region.amazonaws.com
ecr := $(ID).dkr.ecr.region.amazonaws.com
# ecr := $(AWS_ACCOUNT_ID).dkr.ecr.region.amazonaws.com

######## FASTAPI local development

Expand All @@ -30,9 +33,9 @@ pytest-prod:
login:
aws sso login

# aws ecr get-login-password --region $(region) | docker login --username AWS --password-stdin .dkr.ecr.eu-central-1.amazonaws.com
auth:
aws ecr get-login-password --region $(region) | docker login --username AWS --password-stdin 732701080264.dkr.ecr.eu-central-1.amazonaws.com
# aws ecr get-login-password --region $(region) | docker login --username AWS --password-stdin $(ecr)
aws ecr get-login-password --region $(region) | docker login --username AWS --password-stdin $(ecr)

repo:
aws ecr create-repository \
Expand Down

0 comments on commit c621201

Please sign in to comment.