Skip to content

Commit cc30b87

Browse files
authored
Always authenticate with ECR when building + pushing images (#195)
1 parent 9dab605 commit cc30b87

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: .github/workflows/docker.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,11 @@ jobs:
4646
# Configure AWS credentials
4747
- name: Configure AWS credentials
4848
uses: aws-actions/configure-aws-credentials@v4
49-
if: ${{ github.event_name == 'pull_request' }}
5049
with:
5150
role-to-assume: arn:aws:iam::580663733917:role/github-actions
5251
aws-region: us-east-1
52+
5353
- name: Login to Amazon ECR
54-
if: ${{ github.event_name == 'pull_request' }}
5554
id: login-ecr
5655
uses: aws-actions/amazon-ecr-login@v2
5756
with:

0 commit comments

Comments
 (0)