Skip to content

Commit e92123b

Browse files
committed
log in to ECR before building release
1 parent 6e91291 commit e92123b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release-build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,17 @@ jobs:
6262
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
6363
gpg_password: ${{ secrets.GPG_PASSPHRASE }}
6464

65+
- name: Configure AWS Credentials
66+
uses: aws-actions/configure-aws-credentials@v4
67+
with:
68+
role-to-assume: ${{ secrets.AWS_ASSUME_ROLE_ARN }}
69+
aws-region: ${{ env.AWS_PUBLIC_ECR_REGION }}
70+
71+
- name: Log in to AWS ECR
72+
uses: docker/login-action@v3
73+
with:
74+
registry: public.ecr.aws
75+
6576
- name: Build release with Gradle
6677
uses: gradle/gradle-build-action@v3
6778
with:

0 commit comments

Comments
 (0)