File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,26 +156,35 @@ jobs:
156156 verbose : true
157157 packages-dir : dist-pypi
158158
159- # Publish to public ECR
160- - name : Build and push public ECR image
159+ - name : Build and push amd64 image to private ECR
161160 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
162161 with :
163162 push : true
164163 context : .
165164 file : ./Dockerfile
166- platforms : linux/amd64,linux/arm64
165+ platforms : linux/amd64
167166 tags : |
168- ${{ env.RELEASE_PUBLIC_REPOSITORY }}:v${{ env.VERSION }}
167+ ${{ env.RELEASE_PRIVATE_REPOSITORY }}:v${{ env.VERSION }}-amd64
168+
169+ - name : Build and push arm64 image to private ECR
170+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
171+ with :
172+ push : true
173+ context : .
174+ file : ./Dockerfile
175+ platforms : linux/arm64
176+ tags : |
177+ ${{ env.RELEASE_PRIVATE_REPOSITORY }}:v${{ env.VERSION }}-arm64
169178
170- # Publish to private ECR
171- - name : Build and push private ECR image
179+ - name : Build and push multi-arch image
172180 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
173181 with :
174182 push : true
175183 context : .
176184 file : ./Dockerfile
177185 platforms : linux/amd64,linux/arm64
178186 tags : |
187+ ${{ env.RELEASE_PUBLIC_REPOSITORY }}:v${{ env.VERSION }}
179188 ${{ env.RELEASE_PRIVATE_REPOSITORY }}:v${{ env.VERSION }}
180189
181190 publish-layer-prod :
You can’t perform that action at this time.
0 commit comments