There was an error while loading. Please reload this page.
2 parents 7217fbe + f8def20 commit 1c86051Copy full SHA for 1c86051
1 file changed
.github/workflows/build_containers.yml
@@ -18,10 +18,11 @@ jobs:
18
role-to-assume: ${{ vars.ARN }}
19
aws-region: us-east-1
20
role-session-name: github-actions
21
- - name: Login to Amazon ECR
22
- id: login-ecr
23
- uses: aws-actions/amazon-ecr-login@v2
24
- - name: Build and push fastapi container
+ #aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
+ #aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ #id-token: ${{ steps.oidc-token.outputs.token}}
+ #adding a comment to make this diff
25
+ - name: Use AWS credentials
26
run: |
27
docker build -f Dockerfile-fa.yml -t ${{ steps.login-ecr.outputs.registry }}/fastapi:${{ github.sha }} .
28
docker push ${{ steps.login-ecr.outputs.registry }}/fastapi:${{ github.sha }}
0 commit comments