diff --git a/.circleci/config.yml b/.circleci/config.yml index 23ca1b3f..77e7470b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,7 @@ jobs: - run: name: Test Docker image command: | - timeout 60 docker run [$IMAGE_NAME --config config.json --min_sleep 1 --max_sleep 5]; test $? -eq 124 && echo "Container ran for 60 seconds without failing" + docker run $IMAGE_NAME --config config.json --min_sleep 1 --max_sleep 5 --timeout 60 - run: name: Archive Docker image command: docker save -o image.tar $IMAGE_NAME