Skip to content

Commit 9470f48

Browse files
push to ecr
1 parent 676144d commit 9470f48

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

.github/workflows/ecr_sagemaker_publish.yml

+10-16
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,13 @@ jobs:
4848
with:
4949
mask-password: 'true'
5050

51-
# - name: Build & Push ECR Image
52-
# uses: docker/build-push-action@v2
53-
# with:
54-
# builder: ${{ steps.buildx.outputs.name }}
55-
# context: ${{ env.WORKING_DIR }}
56-
# platforms: linux/amd64
57-
# cache-from: type=gha
58-
# cache-to: type=gha,mode=max
59-
# push: true
60-
# tags: ${{ env.AWS_ECR_REPOSITORY }}:restrict2topic-rc
61-
62-
# - name: Deploy to ECS
63-
# run: |
64-
# aws ecs update-service --cluster ${{ env.AWS_ECS_CLUSTER_NAME }} --service ${{ env.AWS_ECS_SERVICE_NAME }} --desired-count ${{ env.AWS_ECS_DESIRED_TASK_COUNT }} --force-new-deployment
65-
# env:
66-
# AWS_DEFAULT_REGION: ${{ env.AWS_REGION }}
51+
- name: Build & Push ECR Image
52+
uses: docker/build-push-action@v2
53+
with:
54+
builder: ${{ steps.buildx.outputs.name }}
55+
context: ${{ env.WORKING_DIR }}
56+
platforms: linux/amd64
57+
cache-from: type=gha
58+
cache-to: type=gha,mode=max
59+
push: true
60+
tags: 064852979926.dkr.ecr.us-east-1.amazonaws.com/gr-sagemaker-validator-images-prod:restrict2topic-rc

0 commit comments

Comments
 (0)