diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e713c3f..792ade8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,7 +110,7 @@ jobs: buildkitd-flags: --debug - name: Build - uses: docker/build-push-action@v7 + uses: docker/build-push-action@v6 with: context: . platforms: linux/amd64,linux/arm64,linux/ppc64le @@ -240,7 +240,7 @@ jobs: buildkitd-config: /tmp/buildkitd.toml - name: Build - uses: docker/build-push-action@v7 + uses: docker/build-push-action@v6 with: context: . @@ -267,7 +267,7 @@ jobs: mirrors = ["mirror.gcr.io"] - name: Build - uses: docker/build-push-action@v7 + uses: docker/build-push-action@v6 with: context: . diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4536f0b..8f6bf39 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: uses: ./ - name: Test - uses: docker/bake-action@v7 + uses: docker/bake-action@v6 with: targets: test - diff --git a/.github/workflows/update-dist.yml b/.github/workflows/update-dist.yml index fefe728..744588f 100644 --- a/.github/workflows/update-dist.yml +++ b/.github/workflows/update-dist.yml @@ -14,7 +14,7 @@ jobs: - name: GitHub auth token from GitHub App id: docker-read-app - uses: actions/create-github-app-token@v3 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }} private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }} @@ -28,7 +28,7 @@ jobs: token: ${{ steps.docker-read-app.outputs.token || github.token }} - name: Build - uses: docker/bake-action@v7 + uses: docker/bake-action@v6 with: source: . targets: build diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 33aed91..ae6f92e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,15 +15,15 @@ jobs: prepare: runs-on: ubuntu-latest outputs: - matrix: ${{ steps.generate.outputs.matrix }} + targets: ${{ steps.generate.outputs.targets }} steps: - name: Checkout uses: actions/checkout@v6 - - name: Generate matrix + name: List targets id: generate - uses: docker/bake-action/subaction/matrix@v7 + uses: docker/bake-action/subaction/list-targets@v6 with: target: validate @@ -34,10 +34,10 @@ jobs: strategy: fail-fast: false matrix: - include: ${{ fromJson(needs.prepare.outputs.matrix) }} + target: ${{ fromJson(needs.prepare.outputs.targets) }} steps: - name: Validate - uses: docker/bake-action@v7 + uses: docker/bake-action@v6 with: targets: ${{ matrix.target }} diff --git a/README.md b/README.md index ea6ee2f..0daac52 100644 --- a/README.md +++ b/README.md @@ -40,14 +40,17 @@ jobs: buildx: runs-on: ubuntu-latest steps: + - + name: Checkout + uses: actions/checkout@v5 - # Add support for more platforms with QEMU (optional) # https://github.com/docker/setup-qemu-action name: Set up QEMU - uses: docker/setup-qemu-action@v4 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v4 + uses: docker/setup-buildx-action@v3 ``` ## Configuring your builder @@ -130,6 +133,23 @@ The following [official docker environment variables](https://docs.docker.com/en ### `nodes` output +```json +[ + { + "name": "builder-3820d274-502c-4498-ae24-d4c32b3023d90", + "endpoint": "unix:///var/run/docker.sock", + "driver-opts": [ + "network=host", + "image=moby/buildkit:master" + ], + "status": "running", + "buildkitd-flags": "--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host", + "buildkit": "3fab389", + "platforms": "linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/amd64/v4,linux/386" + } +] +``` + | Name | Type | Description | |-------------------|--------|----------------------------| | `name` | String | Node name | @@ -140,21 +160,6 @@ The following [official docker environment variables](https://docs.docker.com/en | `buildkit` | String | BuildKit version | | `platforms` | String | Platforms available | -Example: - -```json -[ - { - "name": "builder-8fa135e1-9bce-4a29-9368-46a09a1d750d0", - "endpoint": "unix:///var/run/docker.sock", - "status": "running", - "buildkitd-flags": "--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host", - "buildkit": "v0.27.1", - "platforms": "linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/386" - } -] -``` - ## Contributing Want to contribute? Awesome! You can find information about contributing to