Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Sep 13, 2023
1 parent 9ba63e6 commit 77854ab
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
path: var-cache-pacman
key: var-cache-pacman-${{ hashFiles('Dockerfile.archlinux') }}
- name: inject var-cache-pacman into docker
uses: reproducible-containers/buildkit-cache-dance/[email protected]
uses: reproducible-containers/buildkit-cache-dance@v2.1.2
with:
cache-source: var-cache-pacman
cache-target: /var/cache/pacman
Expand All @@ -37,11 +37,6 @@ jobs:
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: extract var-cache-pacman from docker
uses: reproducible-containers/buildkit-cache-dance/[email protected]
with:
cache-source: var-cache-pacman
cache-target: /var/cache/pacman
example-debian:
runs-on: ubuntu-22.04
timeout-minutes: 10
Expand Down Expand Up @@ -73,12 +68,12 @@ jobs:
path: var-lib-apt
key: var-lib-apt-${{ hashFiles(format('{0}', matrix.dockerfile)) }}
- name: inject var-cache-apt into docker
uses: reproducible-containers/buildkit-cache-dance/[email protected]
uses: reproducible-containers/buildkit-cache-dance@v2.1.2
with:
cache-source: var-cache-apt
cache-target: /var/cache/apt
- name: inject var-lib-apt into docker
uses: reproducible-containers/buildkit-cache-dance/[email protected]
uses: reproducible-containers/buildkit-cache-dance@v2.1.2
with:
cache-source: var-lib-apt
cache-target: /var/lib/apt
Expand All @@ -92,13 +87,3 @@ jobs:
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: extract var-cache-apt from docker
uses: reproducible-containers/buildkit-cache-dance/[email protected]
with:
cache-source: var-cache-apt
cache-target: /var/cache/apt
- name: extract var-lib-apt from docker
uses: reproducible-containers/buildkit-cache-dance/[email protected]
with:
cache-source: var-lib-apt
cache-target: /var/lib/apt

0 comments on commit 77854ab

Please sign in to comment.