diff --git a/.circleci/config.yml b/.circleci/config.yml index 449e6d2e..e8028cb1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ executors: environment: IMAGE_NAME: madereddy/noisy docker: - - image: cimg/python:3.12.0 + - image: python/alpine jobs: build: executor: docker-publisher @@ -18,7 +18,7 @@ jobs: - run: name: Test Docker image command: | - timeout 60 docker run [--config config.json --min_sleep 1 --max_sleep 5]; test $? -eq 124 && echo "Container ran for 60 seconds without failing" + 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" - run: name: Archive Docker image command: docker save -o image.tar $IMAGE_NAME