File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ phases:
29
29
- echo Pushing the Docker image...
30
30
- |
31
31
case $CODEBUILD_WEBHOOK_EVENT in
32
- PUSH | PULL_REQUEST_MERGED )
32
+ PUSH)
33
33
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"
34
34
;;
35
- PULL_REQUEST_CREATED | PULL_REQUEST_UPDATED | PULL_REQUEST_REOPENED)
35
+ PULL_REQUEST_MERGED | PULL_REQUEST_CREATED | PULL_REQUEST_UPDATED | PULL_REQUEST_REOPENED)
36
36
# pushes test tag for manual verification, requires cleanup in ECR every once in a while though
37
37
TEST_TAG=515193369038.dkr.ecr.us-west-2.amazonaws.com/sagemaker-scikit-learn:$FRAMEWORK_VERSION-cpu-py3-test
38
38
docker tag preprod-sklearn:$FRAMEWORK_VERSION-cpu-py3 ${TEST_TAG}
You can’t perform that action at this time.
0 commit comments