mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-26 11:36:20 +00:00
solo cachear target
This commit is contained in:
parent
a19d1aba65
commit
eedeae37ea
1 changed files with 1 additions and 21 deletions
20
.github/workflows/container.yml
vendored
20
.github/workflows/container.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue