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 6aad670 commit e7b023b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ jobs:
printf "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY\n" >> .env
printf "AWS_ACCOUNT_ID=$AWS_ACCOUNT_ID\n" >> .env
working-directory: ./lambdas/todos/.aws
# - run: aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin 732701080264.dkr.ecr.eu-central-1.amazonaws.com
- run: make auth
working-directory: ./lambdas/todos
# - run: make update
- run: aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin 732701080264.dkr.ecr.eu-central-1.amazonaws.com
# - run: make auth
# working-directory: ./lambdas/todos
- run: make update
working-directory: ./lambdas/todos
- run: make pytest-prod
working-directory: ./lambdas/todos
1 change: 0 additions & 1 deletion lambdas/todos/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ login:
aws sso login

auth:
echo "$(ecr)"
aws ecr get-login-password --region "$(region)" | docker login --username AWS --password-stdin "$(ecr)"

repo:
Expand Down

0 comments on commit e7b023b

Please sign in to comment.