From eedeae37ea20e762a019a939e10113465a1d5ee3 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 12 Jan 2024 19:10:29 -0300 Subject: [PATCH] solo cachear target --- .github/workflows/container.yml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index ba0c925..922af39 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -75,32 +75,12 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/scraper - - name: Cache root-.cargo-git - uses: actions/cache@v3 - with: - path: root-.cargo-git - key: root-.cargo-git-${{ hashFiles('Dockerfile') }} - - name: inject root-.cargo-git into docker - uses: reproducible-containers/buildkit-cache-dance@v2.1.3 - with: - cache-source: root-.cargo-git - cache-target: /root/.cargo/git - - name: Cache root-.cargo-registry - uses: actions/cache@v3 - with: - path: root-.cargo-registry - key: root-.cargo-registry-${{ hashFiles('Dockerfile') }} - - name: inject root-.cargo-registry into docker - uses: reproducible-containers/buildkit-cache-dance@v2.1.3 - with: - cache-source: root-.cargo-registry - cache-target: /root/.cargo/registry - name: Cache usr/src/app/target uses: actions/cache@v3 with: path: usr/src/app/target key: usr/src/app/target-${{ hashFiles('Dockerfile') }} - - name: inject usr/src/app/targetinto docker + - name: inject usr/src/app/target into docker uses: reproducible-containers/buildkit-cache-dance@v2.1.3 with: cache-source: usr/src/app/target