File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,17 @@ jobs:
6767 - semantic-release
6868 if : needs.semantic-release.outputs.new-release-published == 'true'
6969 runs-on : ubuntu-latest
70+ permissions :
71+ contents : read
72+ packages : write
7073 steps :
7174 - id : meta
7275 uses : docker/metadata-action@v4
7376 with :
7477 images : |
7578 supabase/postgres-meta
76- public.ecr.aws/t3w2s2c9/postgres-meta
79+ public.ecr.aws/supabase/postgres-meta
80+ ghcr.io/supabase/postgres-meta
7781 tags : |
7882 type=raw,value=v${{ needs.semantic-release.outputs.new-release-version }}
7983
9599 username : ${{ secrets.PROD_ACCESS_KEY_ID }}
96100 password : ${{ secrets.PROD_SECRET_ACCESS_KEY }}
97101
102+ - name : Login to GHCR
103+ uses : docker/login-action@v2
104+ with :
105+ registry : ghcr.io
106+ username : ${{ github.actor }}
107+ password : ${{ secrets.GITHUB_TOKEN }}
108+
98109 - uses : docker/build-push-action@v3
99110 with :
100111 push : true
You can’t perform that action at this time.
0 commit comments