File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,15 @@ phases:
4444 - echo Pushing the Docker image...
4545 - |
4646 case $CODEBUILD_WEBHOOK_EVENT in
47- PUSH)
47+ PUSH | PULL_REQUEST_MERGED)
48+ echo Pushing final image..
4849 docker push 515193369038.dkr.ecr.us-west-2.amazonaws.com/sagemaker-scikit-learn:$FRAMEWORK_VERSION-cpu-py3 | grep -v -E "[0-9]{12}.dkr.ecr.\S+.amazonaws.com"
4950 ;;
50- PULL_REQUEST_MERGED | PULL_REQUEST_CREATED | PULL_REQUEST_UPDATED | PULL_REQUEST_REOPENED)
51+ PULL_REQUEST_CREATED | PULL_REQUEST_UPDATED | PULL_REQUEST_REOPENED)
5152 # pushes test tag for manual verification, requires cleanup in ECR every once in a while though
5253 TEST_TAG=515193369038.dkr.ecr.us-west-2.amazonaws.com/sagemaker-scikit-learn:$FRAMEWORK_VERSION-cpu-py3-test
5354 docker tag preprod-sklearn:$FRAMEWORK_VERSION-cpu-py3 ${TEST_TAG}
55+ echo Pushing test image..
5456 docker push ${TEST_TAG} | grep -v -E "[0-9]{12}.dkr.ecr.\S+.amazonaws.com"
5557 ;;
5658 *)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ model-archiver==1.0.3
88multi-model-server == 1.1.1
99numpy == 1.19.2
1010pandas == 1.1.3
11- protobuf == 3.20.2
11+ protobuf == 3.20.1
1212psutil == 5.7.2
1313python-dateutil == 2.8.1
1414sagemaker-inference == 1.2.0
You can’t perform that action at this time.
0 commit comments