From b53cb256e5617f1ad0ac88e76dc88a01e60f9b8b Mon Sep 17 00:00:00 2001 From: crazy-max Date: Tue, 31 Jan 2023 14:00:58 +0000 Subject: [PATCH 1/2] github: update .github/releases.json Signed-off-by: GitHub Signed-off-by: CrazyMax --- .github/releases.json | 117 ++++++++++++++++++++++++++++-------------- 1 file changed, 79 insertions(+), 38 deletions(-) diff --git a/.github/releases.json b/.github/releases.json index 4db3269d..c4e8e827 100644 --- a/.github/releases.json +++ b/.github/releases.json @@ -1,43 +1,84 @@ { "latest": { - "id": 90346950, - "tag_name": "v0.10.1", - "html_url": "https://github.com/docker/buildx/releases/tag/v0.10.1", - "assets": [ - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.darwin-amd64", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.darwin-amd64.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.darwin-amd64.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.darwin-arm64", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.darwin-arm64.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.darwin-arm64.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-amd64", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-amd64.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-amd64.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm-v6", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm-v6.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm-v6.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm-v7", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm-v7.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm-v7.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm64", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm64.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-arm64.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-ppc64le", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-ppc64le.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-ppc64le.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-riscv64", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-riscv64.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-riscv64.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-s390x", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-s390x.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.linux-s390x.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.windows-amd64.exe", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.windows-amd64.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.windows-amd64.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.windows-arm64.exe", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.windows-arm64.provenance.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/buildx-v0.10.1.windows-arm64.sbom.json", - "https://github.com/docker/buildx/releases/download/v0.10.1/checksums.txt" + "id": 90741208, + "tag_name": "v0.10.2", + "html_url": "https://github.com/docker/buildx/releases/tag/v0.10.2", + "assets": [ + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-amd64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-amd64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-amd64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-arm64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-arm64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-arm64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v6", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v6.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v6.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v7", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v7.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v7.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-ppc64le", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-ppc64le.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-ppc64le.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-riscv64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-riscv64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-riscv64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-s390x", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-s390x.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-s390x.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-amd64.exe", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-amd64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-amd64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-arm64.exe", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-arm64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-arm64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/checksums.txt" + ] + }, + "v0.10.2": { + "id": 90741208, + "tag_name": "v0.10.2", + "html_url": "https://github.com/docker/buildx/releases/tag/v0.10.2", + "assets": [ + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-amd64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-amd64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-amd64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-arm64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-arm64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.darwin-arm64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-amd64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v6", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v6.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v6.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v7", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v7.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm-v7.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-arm64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-ppc64le", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-ppc64le.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-ppc64le.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-riscv64", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-riscv64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-riscv64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-s390x", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-s390x.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.linux-s390x.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-amd64.exe", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-amd64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-amd64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-arm64.exe", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-arm64.provenance.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/buildx-v0.10.2.windows-arm64.sbom.json", + "https://github.com/docker/buildx/releases/download/v0.10.2/checksums.txt" ] }, "v0.10.1": { From ab44d037719e177ddf902f2274bcd5fb5baa5175 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 6 Feb 2023 13:33:03 +0100 Subject: [PATCH 2/2] ci: remove releases-json workflow This is now directly handled by our actions-toolkit. We keep `.github/releases.json` file for now but will be removed on next v0.11 release. Signed-off-by: CrazyMax --- .github/workflows/releases-json.yml | 56 ----------------------------- 1 file changed, 56 deletions(-) delete mode 100644 .github/workflows/releases-json.yml diff --git a/.github/workflows/releases-json.yml b/.github/workflows/releases-json.yml deleted file mode 100644 index 3ebd6790..00000000 --- a/.github/workflows/releases-json.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: releases-json - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -on: - workflow_dispatch: - release: - types: - - released - pull_request: - paths-ignore: - - '.github/releases.json' - -jobs: - generate: - uses: crazy-max/.github/.github/workflows/releases-json.yml@2a596c917a8ad3e6203ae99b777148525a2e00d5 - with: - repository: docker/buildx - artifact_name: releases-json - filename: releases.json - secrets: inherit - - open-pr: - runs-on: ubuntu-22.04 - if: github.event_name != 'pull_request' - needs: - - generate - steps: - - - name: Checkout - uses: actions/checkout@v3 - - - name: Download - uses: actions/download-artifact@v3 - with: - name: releases-json - path: .github - - - name: Commit changes - run: | - git add -A . - - - name: Create PR - uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04 - with: - base: master - branch: bot/releases-json - commit-message: "github: update .github/releases.json" - signoff: true - delete-branch: true - title: "Update `.github/releases.json`" - body: | - Update `.github/releases.json` to keep in sync with GitHub Releases. - draft: false