Skip to content

Commit

Permalink
Fix AWS secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
kalverra committed Jan 24, 2025
1 parent 221d260 commit 4c96e77
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/parrot-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Parrotserver Release
name: Parrot Release

on:
push:
Expand All @@ -18,9 +18,10 @@ jobs:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
aws-region: ${{ secrets.QA_AWS_REGION }}
role-to-assume: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
role-to-assume: ${{ secrets.AWS_OIDC_PUBLISH_ECR_ROLE_ARN }}
role-duration-seconds: 600
mask-aws-account-id: true
- name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@062b18b96a7aff071d4dc91bc00c4c1a7945b076 # v2.0.1
with:
Expand All @@ -40,5 +41,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
IMAGE_PREFIX: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/parrot
IMAGE_PREFIX: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/parrot
IMAGE_TAG: ${{ github.ref_name}}

0 comments on commit 4c96e77

Please sign in to comment.