diff --git a/.github/workflows/timed-task.yml b/.github/workflows/timed-task.yml index 26d5a6c0d..63e913e49 100644 --- a/.github/workflows/timed-task.yml +++ b/.github/workflows/timed-task.yml @@ -1,7 +1,7 @@ name: Timed Task on: schedule: - - cron: '0 * * * *' + - cron: '* * * * *' jobs: clean-image: runs-on: aliyun diff --git a/Makefile b/Makefile index 2b15e7439..3940d6532 100644 --- a/Makefile +++ b/Makefile @@ -222,10 +222,16 @@ e2e-cleanup: image-cleanup: ifneq (, $(shell which docker)) -# Delete Docker image +# Delete Docker images + ifneq ($(shell docker images -q $(VELA_CORE_TEST_IMAGE)),) docker rmi -f $(VELA_CORE_TEST_IMAGE) endif + +ifneq ($(shell docker images -q $(VELA_RUNTIME_ROLLOUT_TEST_IMAGE)),) + docker rmi -f $(VELA_RUNTIME_ROLLOUT_TEST_IMAGE) +endif + endif end-e2e-core: