-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from AkihiroSuda/dev
v2.1.2 (GA)
- Loading branch information
Showing
1 changed file
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
@@ -41,7 +38,7 @@ jobs: | |
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }} | ||
- name: inject go-build-cache into docker | ||
uses: reproducible-containers/buildkit-cache-dance/[email protected] | ||
uses: reproducible-containers/buildkit-cache-dance@v2.1.2 | ||
with: | ||
cache-source: go-build-cache | ||
|
@@ -56,19 +53,19 @@ jobs: | |
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
platforms: linux/amd64,linux/arm64 | ||
- name: extract go-build-cache from docker | ||
uses: reproducible-containers/buildkit-cache-dance/[email protected] | ||
with: | ||
cache-source: go-build-cache | ||
``` | ||
|
||
Thanks to [Alexander Pravdin](https://github.com/speller) for the basic idea in [this comment](https://github.com/moby/buildkit/issues/1512). | ||
|
||
## About v2.x | ||
## Releases | ||
### v1 | ||
v1 follows the original design of [`overmindtech/buildkit-cache-dance`](https://github.com/overmindtech/buildkit-cache-dance/tree/306d31a77191f643c0c4a95083f36c6ddccb4a16). | ||
|
||
v1 is composed of two actions: | ||
- `reproducible-containers/buildkit-cache-dance/[email protected]` | ||
- `reproducible-containers/buildkit-cache-dance/[email protected]` | ||
|
||
v2.x unifies `reproducible-containers/buildkit-cache-dance/inject` and `reproducible-containers/buildkit-cache-dance/extract` | ||
into a single `reproducible-containers/buildkit-cache-dance` action. | ||
See the [`releases/v1`](https://github.com/reproducible-containers/buildkit-cache-dance/tree/releases/v1) branch. | ||
|
||
v2.x is still experimental. | ||
### v2 | ||
v2 is composed of the single `reproducible-containers/buildkit-cache-dance` action. |