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