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 19, 2023
1 parent fded98c commit 7ac5754
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,13 @@ jobs:
printf "AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID\n" > .env
printf "AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY\n" >> .env
printf "AWS_ACCOUNT_ID=$AWS_ACCOUNT_ID\n" >> .env
printf "ecr=732701080264.dkr.ecr.region.amazonaws.com" >> .env
echo "::set-env name=AWS_ACCOUNT_ID::secret_value::no-mask"
echo $name
working-directory: ./lambdas/todos/.aws
- run: |
make auth
working-directory: ./lambdas/todos
- run: make update
working-directory: ./lambdas/todos
- run: make pytest-prod
aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID
working-directory: ./lambdas/todos
# - run: |
# docker build -t "$(image_name)" .
# working-directory: ./lambdas/todos
# - run: |
# docker push "$(ecr)"/"$(docker_repo)"
# working-directory: ./lambdas/todos

0 comments on commit 7ac5754

Please sign in to comment.