File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -110,21 +110,21 @@ jobs:
110110 role-to-assume : ${{ secrets.DEV_AWS_ROLE }}
111111 aws-region : " us-east-1"
112112
113- - uses : docker/setup-buildx-action@v3
114-
115- - name : Login to ECR
116- uses : docker/login-action@v2
117- with :
118- registry : public.ecr.aws
119-
120- - id : build
121- uses : docker/build-push-action@v5
113+ - name : Login to Amazon ECR Public
114+ id : login-ecr-public
115+ uses : aws-actions/amazon-ecr-login@v2
122116 with :
123- file : Dockerfile-kubernetes
124- push : true
125- tags : public.ecr.aws/w9p6e7k7/supabase/postgres-v3:${{ steps.process_release_version.outputs.version }}
126- platforms : linux/arm64
127- context : .
117+ registry-type : public
118+
119+ - name : Build, tag, and push docker image to Amazon ECR Public
120+ env :
121+ REGISTRY : public.ecr.aws/w9p6e7k7
122+ REGISTRY_ALIAS : supabase
123+ REPOSITORY : postgres-v3
124+ IMAGE_TAG : ${{ steps.process_release_version.outputs.version }}
125+ run : |
126+ docker build -f Dockerfile-kubernetes -t $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG .
127+ docker push $REGISTRY/$REGISTRY_ALIAS/$REPOSITORY:$IMAGE_TAG
128128
129129 # - name: Upload software manifest to s3 staging
130130 # run: |
You can’t perform that action at this time.
0 commit comments