From fae1f8a920b81ecf0b6ea92e8d0ad27f81f9311c Mon Sep 17 00:00:00 2001 From: acheronfail Date: Fri, 22 Dec 2023 21:43:18 +1100 Subject: [PATCH] pull image before build and remove old cache --- .github/workflows/ci.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index defe231..cf312c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + - run: docker pull "ghcr.io/${{ github.actor }}/count-base:latest" - uses: docker/build-push-action@v2 with: context: ./ @@ -65,21 +66,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - ~/.cargo/.crates.toml - ~/.cargo/.crates2.json - target/ - key: ${{ runner.os }}-cargo - - uses: actions/cache@v3 - with: - path: scripts/node_modules - key: ${{ runner.os }}-node_modules-${{ hashFiles('**/package-lock.json') }} # install dependencies - uses: extractions/setup-just@v1 - uses: oven-sh/setup-bun@v1