Chore: add more frequency on CI image clean job && delete rollout-test image (#2883)

Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
This commit is contained in:
Jianbo Sun
2021-12-06 16:37:34 +08:00
committed by GitHub
parent a62724fbd7
commit ecd7f62f89
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: Timed Task
on:
schedule:
- cron: '0 * * * *'
- cron: '* * * * *'
jobs:
clean-image:
runs-on: aliyun
+7 -1
View File
@@ -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: