mirror of
https://github.com/docker/setup-buildx-action.git
synced 2026-02-11 10:24:11 +08:00
Merge pull request #476 from crazy-max/update-dist-workflow
Some checks failed
validate / prepare (push) Successful in 7s
validate / validate (push) Successful in 1m19s
test / test (push) Successful in 1m57s
ci / main () (push) Successful in 17s
ci / windows-error (push) Waiting to run
ci / main (cloud:latest) (push) Successful in 16s
ci / main (cloud:v0.11.2-desktop.2) (push) Failing after 11s
ci / main (lab:latest) (push) Successful in 13s
ci / main (latest) (push) Successful in 13s
ci / main (v0.4.1) (push) Successful in 12s
ci / multi (push) Successful in 14s
ci / error (push) Failing after 18s
ci / use (false) (push) Successful in 14s
ci / use (true) (push) Successful in 16s
ci / driver (image=moby/buildkit:latest) (push) Successful in 15s
ci / docker-driver (push) Successful in 11s
ci / driver (image=moby/buildkit:master
network=host
) (push) Successful in 13s
ci / endpoint (push) Failing after 9s
ci / debug (push) Successful in 25s
ci / config (push) Successful in 13s
ci / config-inline (push) Successful in 17s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Failing after 15s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Failing after 11s
ci / with-qemu (, all) (push) Successful in 18s
ci / with-qemu (v0.9.1, all) (push) Failing after 16s
ci / with-qemu (, arm64,riscv64,arm) (push) Successful in 18s
ci / build-ref (master) (push) Successful in 17s
ci / build-ref (refs/tags/v0.5.1) (push) Failing after 11s
ci / build-ref (refs/pull/731/head) (push) Failing after 17s
ci / standalone-install-error (push) Successful in 11s
ci / standalone-cmd (push) Successful in 15s
ci / append (push) Successful in 12s
ci / docker-context (push) Successful in 6s
ci / standalone-action (push) Successful in 17s
ci / platforms (push) Successful in 17s
ci / cleanup (false) (push) Successful in 11s
ci / cleanup (true) (push) Successful in 11s
ci / cache-binary (false) (push) Failing after 8s
ci / k3s (latest) (push) Failing after 13s
ci / k3s (v0.10.5) (push) Failing after 11s
ci / k3s (v0.11.0) (push) Failing after 12s
ci / cache-binary (true) (push) Failing after 11s
ci / keep-state-error (push) Successful in 7s
ci / keep-state (push) Successful in 11s
Some checks failed
validate / prepare (push) Successful in 7s
validate / validate (push) Successful in 1m19s
test / test (push) Successful in 1m57s
ci / main () (push) Successful in 17s
ci / windows-error (push) Waiting to run
ci / main (cloud:latest) (push) Successful in 16s
ci / main (cloud:v0.11.2-desktop.2) (push) Failing after 11s
ci / main (lab:latest) (push) Successful in 13s
ci / main (latest) (push) Successful in 13s
ci / main (v0.4.1) (push) Successful in 12s
ci / multi (push) Successful in 14s
ci / error (push) Failing after 18s
ci / use (false) (push) Successful in 14s
ci / use (true) (push) Successful in 16s
ci / driver (image=moby/buildkit:latest) (push) Successful in 15s
ci / docker-driver (push) Successful in 11s
ci / driver (image=moby/buildkit:master
network=host
) (push) Successful in 13s
ci / endpoint (push) Failing after 9s
ci / debug (push) Successful in 25s
ci / config (push) Successful in 13s
ci / config-inline (push) Successful in 17s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Failing after 15s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Failing after 11s
ci / with-qemu (, all) (push) Successful in 18s
ci / with-qemu (v0.9.1, all) (push) Failing after 16s
ci / with-qemu (, arm64,riscv64,arm) (push) Successful in 18s
ci / build-ref (master) (push) Successful in 17s
ci / build-ref (refs/tags/v0.5.1) (push) Failing after 11s
ci / build-ref (refs/pull/731/head) (push) Failing after 17s
ci / standalone-install-error (push) Successful in 11s
ci / standalone-cmd (push) Successful in 15s
ci / append (push) Successful in 12s
ci / docker-context (push) Successful in 6s
ci / standalone-action (push) Successful in 17s
ci / platforms (push) Successful in 17s
ci / cleanup (false) (push) Successful in 11s
ci / cleanup (true) (push) Successful in 11s
ci / cache-binary (false) (push) Failing after 8s
ci / k3s (latest) (push) Failing after 13s
ci / k3s (v0.10.5) (push) Failing after 11s
ci / k3s (v0.11.0) (push) Failing after 12s
ci / cache-binary (true) (push) Failing after 11s
ci / keep-state-error (push) Successful in 7s
ci / keep-state (push) Successful in 11s
ci: update-dist workflow
This commit is contained in:
49
.github/workflows/update-dist.yml
vendored
Normal file
49
.github/workflows/update-dist.yml
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
name: update-dist
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
update-dist:
|
||||
if: github.actor == 'dependabot[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: GitHub auth token from GitHub App
|
||||
id: docker-read-app
|
||||
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 }}
|
||||
owner: docker
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
fetch-depth: 0
|
||||
token: ${{ steps.docker-read-app.outputs.token || github.token }}
|
||||
-
|
||||
name: Build
|
||||
uses: docker/bake-action@v6
|
||||
with:
|
||||
source: .
|
||||
targets: build
|
||||
-
|
||||
name: Commit and push dist
|
||||
run: |
|
||||
if [ -n "$(git status --porcelain -- dist)" ]; then
|
||||
(
|
||||
set -x
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add dist
|
||||
git commit -m "chore: update generated content"
|
||||
git push
|
||||
)
|
||||
else
|
||||
echo "No changes in dist"
|
||||
fi
|
||||
Reference in New Issue
Block a user