From 1f147075e08148dbf6ddc04534525a132efafd50 Mon Sep 17 00:00:00 2001 From: Gerrit91 Date: Mon, 29 Apr 2024 11:03:39 +0200 Subject: [PATCH] Cleanup before restoring cache. Otherwise the cleanup will erase the restored image. --- .github/workflows/integration.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 5f580d86..6ba8974e 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -57,6 +57,11 @@ jobs: push: true tags: ${{ env.MINI_LAB_SONIC_IMAGE }} + - name: Runner Cleanup + shell: bash + run: | + ./test/ci-cleanup.sh + - name: Cache uses: actions/cache@v4 with: @@ -67,7 +72,6 @@ jobs: - name: Run integration tests shell: bash run: | - ./test/ci-cleanup.sh ./test/integration.sh env: DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}