Skip to content

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

chore: mirror docker image to ghcr

Qiao Hanfc57c413f6dc
diff --git a/.github/workflows/publish_image.yml b/.github/workflows/publish_image.yml
index 6106dad6b42..fb21fd49d43 100644
--- a/.github/workflows/publish_image.yml
+++ b/.github/workflows/publish_image.yml
@@ -16,13 +16,17 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
steps:
- id: meta
uses: docker/metadata-action@v4
with:
images: |
supabase/studio
- public.ecr.aws/t3w2s2c9/studio
+ public.ecr.aws/supabase/studio
+ ghcr.io/supabase/studio
flavor: |
latest=false
tags: |
@@ -49,6 +53,13 @@ jobs:
username: ${{ secrets.PROD_ACCESS_KEY_ID }}
password: ${{ secrets.PROD_SECRET_ACCESS_KEY }}
+ - name: Login to GHCR
+ uses: docker/login-action@v2
+ with:
+ registry: ghcr.io
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
- uses: docker/build-push-action@v3
with:
push: true