File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 61
61
tag_name : v${{ needs.semantic-release.outputs.new-release-version }}
62
62
files : postgres-meta-*.tar.gz
63
63
64
- docker :
65
- name : Release on Docker Hub and ECR
64
+ docker-hub :
65
+ name : Release on Docker Hub
66
66
needs :
67
67
- semantic-release
68
68
if : needs.semantic-release.outputs.new-release-published == 'true'
97
97
tags : supabase/postgres-meta:latest,supabase/postgres-meta:v${{ needs.semantic-release.outputs.new-release-version }}
98
98
platforms : linux/amd64,linux/arm64
99
99
100
+ ecr :
101
+ name : Release on ECR
102
+ needs :
103
+ - semantic-release
104
+ if : needs.semantic-release.outputs.new-release-published == 'true'
105
+ runs-on : ubuntu-20.04
106
+ steps :
107
+ - uses : actions/checkout@v2
108
+
109
+ - uses : actions/setup-node@v2
110
+ with :
111
+ node-version : " 14"
112
+
113
+ - name : Prepare build
114
+ run : |
115
+ npm clean-install
116
+ npm run pkg
117
+
118
+ - uses : docker/setup-buildx-action@v1
119
+
100
120
- name : Login to ECR account - staging
101
121
uses : docker/login-action@v1
102
122
with :
You can’t perform that action at this time.
0 commit comments