From 2322cb43284db9a5c58160cb7ed5925584f2334a Mon Sep 17 00:00:00 2001 From: takahiro-yamada Date: Fri, 18 Oct 2024 08:20:57 +0000 Subject: [PATCH] Add clean up process --- .github/workflows/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 94e2c90..c66018a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -22,6 +22,7 @@ jobs: - run: make test - run: make build - run: make image + - run: docker image prune -af kindtest: name: Run test on kind strategy: @@ -49,6 +50,8 @@ jobs: export SLACK_APP_TOKEN=${{ secrets.SLACK_APP_TOKEN }} export SLACK_BOT_TOKEN=${{ secrets.SLACK_BOT_TOKEN }} EOF + - name: Clean up unnecessary docker images + run: docker image prune -af - run: make setup KINDTEST_K8S_VERSION=${{ matrix.k8s-version }} - run: make -C kindtest start KINDTEST_K8S_VERSION=${{ matrix.k8s-version }} - run: make -C kindtest test