diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 792ade8..e713c3f 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@v6 + uses: docker/build-push-action@v7 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@v6 + uses: docker/build-push-action@v7 with: context: . @@ -267,7 +267,7 @@ jobs: mirrors = ["mirror.gcr.io"] - name: Build - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f6bf39..4536f0b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: uses: ./ - name: Test - uses: docker/bake-action@v6 + uses: docker/bake-action@v7 with: targets: test - diff --git a/.github/workflows/update-dist.yml b/.github/workflows/update-dist.yml index 744588f..fefe728 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@v2 + uses: actions/create-github-app-token@v3 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@v6 + uses: docker/bake-action@v7 with: source: . targets: build diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ae6f92e..33aed91 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,15 +15,15 @@ jobs: prepare: runs-on: ubuntu-latest outputs: - targets: ${{ steps.generate.outputs.targets }} + matrix: ${{ steps.generate.outputs.matrix }} steps: - name: Checkout uses: actions/checkout@v6 - - name: List targets + name: Generate matrix id: generate - uses: docker/bake-action/subaction/list-targets@v6 + uses: docker/bake-action/subaction/matrix@v7 with: target: validate @@ -34,10 +34,10 @@ jobs: strategy: fail-fast: false matrix: - target: ${{ fromJson(needs.prepare.outputs.targets) }} + include: ${{ fromJson(needs.prepare.outputs.matrix) }} steps: - name: Validate - uses: docker/bake-action@v6 + uses: docker/bake-action@v7 with: targets: ${{ matrix.target }} diff --git a/README.md b/README.md index 0daac52..ea6ee2f 100644 --- a/README.md +++ b/README.md @@ -40,17 +40,14 @@ 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@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 ``` ## Configuring your builder @@ -133,23 +130,6 @@ 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 | @@ -160,6 +140,21 @@ 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