solo cachear target

This commit is contained in:
Cat /dev/Nulo 2024-01-12 19:10:29 -03:00
parent a19d1aba65
commit eedeae37ea

View file

@ -75,26 +75,6 @@ jobs:
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/scraper 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 - name: Cache usr/src/app/target
uses: actions/cache@v3 uses: actions/cache@v3
with: with: