File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Mirror Image
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ version :
7
+ description : " Image tag"
8
+ required : true
9
+ type : string
10
+
11
+ jobs :
12
+ mirror :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+ steps :
18
+ - uses : docker/login-action@v2
19
+ with :
20
+ registry : public.ecr.aws
21
+ username : ${{ secrets.PROD_ACCESS_KEY_ID }}
22
+ password : ${{ secrets.PROD_SECRET_ACCESS_KEY }}
23
+ - uses : docker/login-action@v2
24
+ with :
25
+ registry : ghcr.io
26
+ username : ${{ github.actor }}
27
+ password : ${{ secrets.GITHUB_TOKEN }}
28
+ -
uses :
akhilerm/[email protected]
29
+ with :
30
+ src : docker.io/supabase/postgres-meta:${{ inputs.version }}
31
+ dst : |
32
+ public.ecr.aws/supabase/postgres-meta:${{ inputs.version }}
33
+ ghcr.io/supabase/postgres-meta:${{ inputs.version }}
You can’t perform that action at this time.
0 commit comments