Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: switch to aws roles

Inian3c410b9d1a94
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
index 0a4d1b1fd57..47563fba1ef 100644
--- a/.github/workflows/mirror.yml
+++ b/.github/workflows/mirror.yml
@@ -19,12 +19,16 @@ jobs:
permissions:
contents: read
packages: write
+ id-token: write
steps:
+ - name: configure aws credentials
+ uses: aws-actions/configure-aws-credentials@v1
+ with:
+ role-to-assume: ${{ secrets.PROD_AWS_ROLE }}
+ aws-region: us-east-1
- uses: docker/login-action@v2
with:
registry: public.ecr.aws
- username: ${{ secrets.PROD_ACCESS_KEY_ID }}
- password: ${{ secrets.PROD_SECRET_ACCESS_KEY }}
- uses: docker/login-action@v2
with:
registry: ghcr.io