Skip to content

Commit

Permalink
overmindtech/buildkit-cache-dance -> reproducible-containers/buildkit…
Browse files Browse the repository at this point in the history
…-cache-dance

overmindtech/buildkit-cache-dance is no longer maintained

Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Sep 13, 2023
1 parent c5a126f commit dc90042
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 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: overmindtech/buildkit-cache-dance/inject@306d31a77191f643c0c4a95083f36c6ddccb4a16
uses: reproducible-containers/buildkit-cache-dance@v2.0.0
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: overmindtech/buildkit-cache-dance/extract@306d31a77191f643c0c4a95083f36c6ddccb4a16
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: overmindtech/buildkit-cache-dance/inject@306d31a77191f643c0c4a95083f36c6ddccb4a16
uses: reproducible-containers/buildkit-cache-dance@v2.0.0
with:
cache-source: var-cache-apt
cache-target: /var/cache/apt
- name: inject var-lib-apt into docker
uses: overmindtech/buildkit-cache-dance/inject@306d31a77191f643c0c4a95083f36c6ddccb4a16
uses: reproducible-containers/buildkit-cache-dance@v2.0.0
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: overmindtech/buildkit-cache-dance/extract@306d31a77191f643c0c4a95083f36c6ddccb4a16
with:
cache-source: var-cache-apt
cache-target: /var/cache/apt
- name: extract var-lib-apt from docker
uses: overmindtech/buildkit-cache-dance/extract@306d31a77191f643c0c4a95083f36c6ddccb4a16
with:
cache-source: var-lib-apt
cache-target: /var/lib/apt
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Examples:
- [`Dockerfile.archlinux`](./Dockerfile.archlinux)

## Hints
- To preserve the package cache on GHA, use <https://github.com/overmindtech/buildkit-cache-dance>.
- To preserve the package cache on GHA, use <https://github.com/reproducible-containers/buildkit-cache-dance>.
See [`.github/workflows/main.yaml`](./.github/workflows/main.yaml) for an example.

- For Debian >= 13 and Ubuntu >= 23.10, see also [`./alternative/`](./alternative/)
Expand Down

0 comments on commit dc90042

Please sign in to comment.