mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-26 03:26:19 +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
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue