Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
68740a7
chore(deps): Bump docker/bake-action from 7.2.0 to 7.3.0
dependabot[bot] Jul 3, 2026
51818a4
chore(deps): Bump docker/setup-qemu-action from 4.1.0 to 4.2.0
dependabot[bot] Jul 3, 2026
1684751
chore(deps): Bump docker/setup-buildx-action from 4.1.0 to 4.2.0
dependabot[bot] Jul 6, 2026
c6a4592
chore(deps): Bump docker/metadata-action from 6.1.0 to 6.2.0
dependabot[bot] Jul 6, 2026
4fd57d0
chore(deps): Bump the codeql-actions group across 1 directory with 2 …
dependabot[bot] Jul 9, 2026
c8e8e65
chore(deps): Bump postcss from 8.5.10 to 8.5.25
dependabot[bot] Jul 31, 2026
7a3b445
chore(deps): Bump js-yaml from 4.3.0 to 4.3.1
dependabot[bot] Aug 28, 2026
51ed387
chore(deps): Bump postcss-selector-parser from 7.1.1 to 7.1.5
dependabot[bot] Sep 1, 2026
541e776
chore(deps): Bump @humanfs/node from 0.16.7 to 0.16.8
dependabot[bot] Sep 3, 2026
93273da
chore(deps): Bump csv-parse from 7.0.0 to 7.0.2
dependabot[bot] Sep 9, 2026
9001f7c
[dependabot skip] chore: update generated content
github-actions[bot] Sep 9, 2026
4b51ff4
Merge pull request #483 from docker/dependabot/github_actions/codeql-…
crazy-max Sep 10, 2026
21a2db8
Merge pull request #480 from docker/dependabot/github_actions/docker/…
crazy-max Sep 10, 2026
6d882e5
Merge pull request #479 from docker/dependabot/github_actions/docker/…
crazy-max Sep 10, 2026
66aaa34
Merge pull request #478 from docker/dependabot/github_actions/docker/…
crazy-max Sep 10, 2026
1c12310
Merge pull request #477 from docker/dependabot/github_actions/docker/…
crazy-max Sep 10, 2026
58f96cc
Merge pull request #489 from docker/dependabot/npm_and_yarn/postcss-8…
crazy-max Sep 10, 2026
be9b5f2
Merge pull request #496 from docker/dependabot/npm_and_yarn/js-yaml-4…
crazy-max Sep 10, 2026
bdb41aa
Merge pull request #497 from docker/dependabot/npm_and_yarn/postcss-s…
crazy-max Sep 10, 2026
247dd23
Merge pull request #498 from docker/dependabot/npm_and_yarn/humanfs/n…
crazy-max Sep 10, 2026
7c26c65
Merge pull request #500 from docker/dependabot/npm_and_yarn/csv-parse…
crazy-max Sep 10, 2026
f2a2b36
chore(deps): Bump the crazy-max-dot-github group across 1 directory w…
dependabot[bot] Sep 10, 2026
6a50e5a
chore(deps): Bump nanoid from 3.3.16 to 3.3.18
dependabot[bot] Sep 10, 2026
5d7bc79
chore(deps): Bump the codeql-actions group across 1 directory with 2 …
dependabot[bot] Sep 10, 2026
32b2390
Merge pull request #499 from docker/dependabot/npm_and_yarn/nanoid-3.…
crazy-max Sep 10, 2026
6936e32
chore(deps): Bump docker/setup-qemu-action from 4.2.0 to 4.3.0
dependabot[bot] Sep 10, 2026
e9d9955
chore(deps): Bump actions/checkout from 7.0.0 to 7.0.1
dependabot[bot] Sep 10, 2026
5fa847c
Merge pull request #501 from docker/dependabot/github_actions/crazy-m…
crazy-max Sep 10, 2026
cfb9653
chore(deps): Bump actions/setup-node from 6.4.0 to 7.0.0
dependabot[bot] Sep 10, 2026
88afd60
chore(deps): Bump docker/setup-buildx-action from 4.2.0 to 4.3.0
dependabot[bot] Sep 10, 2026
bdadca2
chore(deps): Bump brace-expansion from 1.1.13 to 1.1.18
dependabot[bot] Sep 10, 2026
6aca979
[dependabot skip] chore: update generated content
github-actions[bot] Sep 10, 2026
b06502f
Merge pull request #503 from docker/dependabot/github_actions/codeql-…
crazy-max Sep 10, 2026
df7d299
Merge pull request #504 from docker/dependabot/github_actions/docker/…
crazy-max Sep 10, 2026
13504aa
Merge pull request #505 from docker/dependabot/github_actions/actions…
crazy-max Sep 10, 2026
ca4da05
Merge pull request #506 from docker/dependabot/github_actions/actions…
crazy-max Sep 10, 2026
e0350cc
Merge pull request #507 from docker/dependabot/github_actions/docker/…
crazy-max Sep 10, 2026
de263d0
Merge pull request #491 from docker/dependabot/npm_and_yarn/brace-exp…
crazy-max Sep 10, 2026
9138d24
chore(deps): Bump undici from 6.27.0 to 6.28.1
dependabot[bot] Sep 10, 2026
2aa42a7
[dependabot skip] chore: update generated content
github-actions[bot] Sep 10, 2026
b50c9b3
Merge pull request #492 from docker/dependabot/npm_and_yarn/undici-6.…
crazy-max Sep 10, 2026
47e8aa2
chore(deps): Bump @docker/actions-toolkit from 0.92.0 to 0.98.0
dependabot[bot] Sep 10, 2026
54a6fbc
[dependabot skip] chore: update generated content
github-actions[bot] Sep 10, 2026
2d51777
Merge pull request #502 from docker/dependabot/npm_and_yarn/docker/ac…
crazy-max Sep 10, 2026
e8b6bd1
chore(deps): Bump js-yaml from 4.3.1 to 4.3.2
dependabot[bot] Sep 10, 2026
04c437f
prevent workflow command injection in metadata logs
crazy-max Sep 10, 2026
4d7ac12
chore: update generated content
crazy-max Sep 10, 2026
d9969b0
Merge pull request #509 from crazy-max/fix-metadata-workflow-commands
tonistiigi Sep 11, 2026
b49cc9d
Merge pull request #508 from docker/dependabot/npm_and_yarn/js-yaml-4…
crazy-max Sep 11, 2026
cb6c9f0
chore(deps): Bump @docker/actions-toolkit from 0.98.0 to 0.99.0
dependabot[bot] Sep 11, 2026
70f5dd8
[dependabot skip] chore: update generated content
github-actions[bot] Sep 11, 2026
c86773a
Merge pull request #510 from docker/dependabot/npm_and_yarn/docker/ac…
crazy-max Sep 11, 2026
b0aab10
use the shared Buildx error summary helper
crazy-max Sep 11, 2026
0b5e3e4
chore: update generated content
crazy-max Sep 11, 2026
e04a701
Merge pull request #511 from crazy-max/buildx-error-message
crazy-max Sep 13, 2026
a2262a0
chore(deps): Bump @docker/actions-toolkit from 0.99.0 to 0.100.0
dependabot[bot] Sep 14, 2026
ad1760d
[dependabot skip] chore: update generated content
github-actions[bot] Sep 14, 2026
67548ed
chore(deps): Bump the codeql-actions group across 1 directory with 2 …
dependabot[bot] Sep 14, 2026
68e5dfc
Merge pull request #513 from docker/dependabot/npm_and_yarn/docker/ac…
crazy-max Sep 15, 2026
018cb64
Merge pull request #512 from docker/dependabot/github_actions/codeql-…
crazy-max Sep 15, 2026
57e4f89
Add common packages to catalog
jeliebig May 28, 2026
265eed2
Replace github-script with separate package
jeliebig May 28, 2026
880848a
Add subaction/matrix to update-dist and dev.Dockerfile
jeliebig Jun 17, 2026
0b4de37
Add subaction/matrix to dependabot for npm
jeliebig Jul 1, 2026
e715f0d
Replace Yarn catalogs with explicit dependency ranges
crazy-max Sep 15, 2026
6177c27
Preserve names in the matrix subaction build
crazy-max Sep 15, 2026
0d76bb5
Use toolkit helpers and simplify matrix generation
crazy-max Sep 15, 2026
f3c4262
chore: update generated content
crazy-max Sep 15, 2026
a26212d
chore(deps): Bump codecov/codecov-action from 7.0.0 to 7.1.0
dependabot[bot] Sep 16, 2026
b5f81af
Merge pull request #514 from crazy-max/subaction-matrix-typescript
crazy-max Sep 17, 2026
cac84ca
Merge pull request #515 from docker/dependabot/github_actions/codecov…
crazy-max Sep 17, 2026
b156d29
Merge upstream docker/bake-action master
abhijit-hota Sep 25, 2026
efb69ee
chore(deps): drop yarn resolutions that no longer change anything
abhijit-hota Sep 25, 2026
367c26b
Use Node's crypto.randomUUID for the builder idempotency key
abhijit-hota Sep 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ updates:
- "dependencies"
- "bot"
- package-ecosystem: "npm"
directory: "/"
directories:
- "/"
- "/subaction/matrix"
schedule:
interval: "daily"
cooldown:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-subaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Matrix gen
id: gen
Expand Down
114 changes: 57 additions & 57 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,25 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Enable corepack
run: |
corepack enable
yarn --version
-
name: Set up Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: ${{ env.NODE_VERSION }}
-
name: Initialize CodeQL
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
uses: github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
with:
languages: javascript-typescript
build-mode: none
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
uses: github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0
with:
category: "/language:javascript-typescript"
2 changes: 1 addition & 1 deletion .github/workflows/pr-assign-author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
run:
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@46267a6e61cd56aac2fc79943df180152f4c89d6 # v1.10.1
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@f91220cba053bd54299ba645a599ee8ed436f222 # v1.11.0
permissions:
contents: read
pull-requests: write
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Publish
uses: actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978 # v0.0.4
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Test
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
source: .
targets: test
-
name: Upload coverage
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7.1.0
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/update-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,26 @@ jobs:
permission-contents: write
-
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
token: ${{ steps.docker-read-app.outputs.token }}
-
name: Build
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
source: .
targets: build
-
name: Commit and push dist
run: |
if [ -n "$(git status --porcelain -- dist)" ]; then
if [ -n "$(git status --porcelain -- dist subaction/matrix/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 add dist subaction/matrix/dist
git commit -m "[dependabot skip] chore: update generated content"
git push
)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: List targets
id: generate
Expand All @@ -41,6 +41,6 @@ jobs:
steps:
-
name: Validate
uses: docker/bake-action@6614cfa25eff9a0b2b2697efb0b6159e7680d584 # v7.2.0
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
targets: ${{ matrix.target }}
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
zizmor:
uses: crazy-max/.github/.github/workflows/zizmor.yml@46267a6e61cd56aac2fc79943df180152f4c89d6 # v1.10.1
uses: crazy-max/.github/.github/workflows/zizmor.yml@f91220cba053bd54299ba645a599ee8ed436f222 # v1.11.0
permissions:
contents: read
security-events: write
Expand Down
10 changes: 6 additions & 4 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ RUN --mount=target=/context \
--mount=type=cache,target=/src/node_modules <<EOT
set -e
rsync -a /context/. .
rm -rf dist
yarn run build
rm -rf dist subaction/matrix/dist
yarn workspaces foreach --all run build
mkdir /out
cp -r dist /out
mkdir -p /out/subaction/matrix
cp -r subaction/matrix/dist /out/subaction/matrix
EOT

FROM scratch AS build-update
Expand All @@ -55,9 +57,9 @@ RUN --mount=target=/context \
set -e
rsync -a /context/. .
git add -A
rm -rf dist
rm -rf dist subaction/matrix/dist
cp -rf /out/* .
if [ -n "$(git status --porcelain -- dist)" ]; then
if [ -n "$(git status --porcelain -- dist subaction/matrix/dist)" ]; then
echo >&2 'ERROR: Build result differs. Please build first with "docker buildx bake build"'
git status --porcelain -- dist
exit 1
Expand Down
319 changes: 165 additions & 154 deletions dist/index.cjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/index.cjs.map

Large diffs are not rendered by default.

45 changes: 14 additions & 31 deletions dist/licenses.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import eslintPluginPrettier from 'eslint-plugin-prettier';

export default defineConfig([
{
ignores: ['.yarn/**/*', 'coverage/**/*', 'dist/**/*']
ignores: ['.yarn/**/*', 'coverage/**/*', 'dist/**/*', 'subaction/matrix/dist/**/*']
},
js.configs.recommended,
...tseslint.configs['flat/recommended'],
Expand Down
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"test": "vitest run",
"license": "generate-license-file --input package.json --output dist/licenses.txt --overwrite --ci --no-spinner --eol lf"
},
"workspaces": [
"subaction/matrix"
],
"repository": {
"type": "git",
"url": "git+https://github.com/docker/bake-action.git"
Expand All @@ -25,17 +28,11 @@
"packageManager": "yarn@4.15.0",
"dependencies": {
"@actions/core": "^3.0.1",
"@docker/actions-toolkit": "^0.92.0",
"handlebars": "^4.7.9",
"uuid": "^11.1.1"
"@docker/actions-toolkit": "^0.100.0",
"handlebars": "^4.7.9"
},
"resolutions": {
"undici": "^6.27.0",
"fast-xml-parser": "^5.7.2",
"tar": "^7.5.19",
"lodash": "^4.18.1",
"flatted": "^3.3.4",
"uuid": "^11.1.1"
"tar": "^7.5.19"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
Expand Down
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ actionsToolkit.run(
// if there are no warnings found, return the first line of stdout
err = Error(res.stdout.split('\n')[0]?.trim());
}
} else if (res.stderr.length > 0) {
err = Error(`buildx bake failed with: ${res.stderr.match(/(.*)\s*$/)?.[0]?.trim() ?? 'unknown error'}`);
} else {
err = Error(`buildx bake failed with: ${Buildx.getErrorMessage(res.stderr)}`);
}
}
});
Expand All @@ -192,7 +192,7 @@ actionsToolkit.run(
if (metadata) {
await core.group(`Metadata`, async () => {
const metadatadt = JSON.stringify(metadata, null, 2);
core.info(metadatadt);
GitHub.printUntrusted(metadatadt);
core.setOutput('metadata', metadatadt);
});
}
Expand Down
4 changes: 2 additions & 2 deletions src/warpbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as os from 'os';
import * as path from 'path';
import {exec} from 'child_process';
import {promisify} from 'util';
import {v4 as uuidv4} from 'uuid';
import {randomUUID} from 'crypto';
import * as core from '@actions/core';

const execAsync = promisify(exec);
Expand Down Expand Up @@ -62,7 +62,7 @@ export class WarpBuildRemoteBuilders {
this.isWarpBuildRunner = this.determineRunnerType();
// Example output: lq1cr8p2n5x7d3fy
// Generate a more random idempotency key using UUID
this.idempotencyKey = uuidv4().replace(/-/g, '').substring(0, 16);
this.idempotencyKey = randomUUID().replace(/-/g, '').substring(0, 16);
this.builderName = `builder-${this.idempotencyKey}`;

core.debug(`API domain: ${this.apiDomain}`);
Expand Down
Loading
Loading