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:
67
67
- semantic-release
68
68
if : needs.semantic-release.outputs.new-release-published == 'true'
69
69
runs-on : ubuntu-latest
70
+ permissions :
71
+ contents : read
72
+ packages : write
70
73
steps :
71
74
- id : meta
72
75
uses : docker/metadata-action@v4
73
76
with :
74
77
images : |
75
78
supabase/postgres-meta
76
- public.ecr.aws/t3w2s2c9/postgres-meta
79
+ public.ecr.aws/supabase/postgres-meta
80
+ ghcr.io/supabase/postgres-meta
77
81
tags : |
78
82
type=raw,value=v${{ needs.semantic-release.outputs.new-release-version }}
79
83
95
99
username : ${{ secrets.PROD_ACCESS_KEY_ID }}
96
100
password : ${{ secrets.PROD_SECRET_ACCESS_KEY }}
97
101
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
+
98
109
- uses : docker/build-push-action@v3
99
110
with :
100
111
push : true
You can’t perform that action at this time.
0 commit comments