@@ -126,24 +126,24 @@ jobs:
126
126
docker push "$REGISTRY/$REPOSITORY:$IMAGE_TAG"
127
127
128
128
# TODO (darora): temporarily also push to prod account from here - add a guard to only publish proper tagged releases to prod?
129
- - name : configure aws credentials - prod
130
- uses : aws-actions/configure-aws-credentials@v4
131
- with :
132
- role-to-assume : ${{ secrets.CONTROL_PLANE_PROD_ROLE }}
133
- aws-region : " us-east-1"
134
-
135
- - name : Login to Amazon ECR
136
- id : login-ecr-private-prod
137
- uses : aws-actions/amazon-ecr-login@v2
138
-
139
- - name : Push docker image to Amazon ECR
140
- env :
141
- REGISTRY : 156470330064.dkr.ecr.us-east-1.amazonaws.com
142
- REPOSITORY : postgres-vm-image
143
- IMAGE_TAG : ${{ steps.process_release_version.outputs.version }}
144
- run : |
145
- docker tag "postgres:$IMAGE_TAG" "$REGISTRY/$REPOSITORY:$IMAGE_TAG"
146
- docker push "$REGISTRY/$REPOSITORY:$IMAGE_TAG"
129
+ # - name: configure aws credentials - prod
130
+ # uses: aws-actions/configure-aws-credentials@v4
131
+ # with:
132
+ # role-to-assume: ${{ secrets.CONTROL_PLANE_PROD_ROLE }}
133
+ # aws-region: "us-east-1"
134
+
135
+ # - name: Login to Amazon ECR
136
+ # id: login-ecr-private-prod
137
+ # uses: aws-actions/amazon-ecr-login@v2
138
+
139
+ # - name: Push docker image to Amazon ECR
140
+ # env:
141
+ # REGISTRY: 156470330064.dkr.ecr.us-east-1.amazonaws.com
142
+ # REPOSITORY: postgres-vm-image
143
+ # IMAGE_TAG: ${{ steps.process_release_version.outputs.version }}
144
+ # run: |
145
+ # docker tag "postgres:$IMAGE_TAG" "$REGISTRY/$REPOSITORY:$IMAGE_TAG"
146
+ # docker push "$REGISTRY/$REPOSITORY:$IMAGE_TAG"
147
147
148
148
- name : Cleanup resources after build
149
149
if : ${{ always() }}
0 commit comments