Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit df610ba

Browse files
committed
fix: mirror to ghcr
1 parent 550e3c0 commit df610ba

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
- release
3333
if: needs.release.outputs.published == 'true'
3434
runs-on: ubuntu-latest
35+
permissions:
36+
contents: read
37+
packages: write
3538
steps:
3639
- uses: actions/checkout@v3
3740

@@ -42,6 +45,7 @@ jobs:
4245
public.ecr.aws/supabase/imgproxy
4346
436098097459.dkr.ecr.us-east-1.amazonaws.com/imgproxy
4447
646182064048.dkr.ecr.us-east-1.amazonaws.com/imgproxy
48+
ghcr.io/supabase/storage-api
4549
tags: |
4650
type=raw,value=v${{ needs.release.outputs.version }}
4751
@@ -71,6 +75,13 @@ jobs:
7175
username: ${{ secrets.PROD_ACCESS_KEY_ID }}
7276
password: ${{ secrets.PROD_SECRET_ACCESS_KEY }}
7377

78+
- name: Login to GHCR
79+
uses: docker/login-action@v2
80+
with:
81+
registry: ghcr.io
82+
username: ${{ github.actor }}
83+
password: ${{ secrets.GITHUB_TOKEN }}
84+
7485
- uses: docker/build-push-action@v3
7586
with:
7687
push: true

0 commit comments

Comments
 (0)