What changed in docker/build-push-action from 6 to 7
5 releases numbered after v6.19.2 up to and including v7.4.0, stable releases only. v6.19.2 and v7.4.0 are the newest stable releases of 6 and 7 we track; this page follows them as new ones ship.
- 1 removes or deprecates something
44 changes across 5 releases
Added 1
- Support for Git context query format as described in the Docker build context URL queries documentation
Changed 40
- Use the shared error helper for Buildx commands
- Bump @docker/actions-toolkit from 0.92.0 to 0.100.0
- Bump @humanfs/node from 0.16.7 to 0.16.8
- Bump brace-expansion from 1.1.13 to 1.1.18
- Bump csv-parse from 7.0.0 to 7.0.2
- Bump js-yaml from 4.3.0 to 4.3.2
- Bump nanoid from 3.3.16 to 3.3.18
- Bump postcss from 8.5.10 to 8.5.25
- Bump postcss-selector-parser from 7.1.1 to 7.1.5
- Bump sigstore from 4.1.0 to 4.1.1
- Bump undici from 6.27.0 to 6.28.0
- Preserve names in esbuild bundle
- Bump @docker/actions-toolkit from 0.90.0 to 0.92.0
- Bump @sigstore/core from 3.1.0 to 3.2.1
- Bump js-yaml from 4.1.1 to 4.3.0
- Bump tmp from 0.2.5 to 0.2.7
- Bump undici from 6.24.1 to 6.27.0
- Bump vite from 7.3.2 to 7.3.6
- Bump @actions/core from 3.0.0 to 3.0.1
- Bump @docker/actions-toolkit from 0.87.0 to 0.90.0
- Bump brace-expansion from 2.0.2 to 5.0.6
- Bump fast-xml-builder from 1.1.4 to 1.2.0
- Bump fast-xml-parser from 5.5.7 to 5.8.0
- Bump postcss from 8.5.6 to 8.5.10
- Bump tar from 6.2.1 to 7.5.15
- Bump @docker/actions-toolkit from 0.79.0 to 0.87.0
- Bump brace-expansion from 1.1.12 to 1.1.13
- Bump fast-xml-parser from 5.4.2 to 5.5.7
- Bump flatted from 3.3.3 to 3.4.2
- Bump glob from 10.3.12 to 10.5.0
- Bump handlebars from 4.7.8 to 4.7.9
- Bump lodash from 4.17.23 to 4.18.1
- Bump picomatch from 4.0.3 to 4.0.4
- Bump undici from 6.23.0 to 6.24.1
- Bump vite from 7.3.1 to 7.3.2
- Node 24 is now the default runtime, requiring Actions Runner v2.327.1 or later
- Switched to ESM and updated config and test wiring
- Bumped @actions/core from 1.11.1 to 3.0.0
- Bumped @docker/actions-toolkit from 0.62.1 to 0.79.0
- Bumped minimatch from 3.1.2 to 3.1.5
Removed 2
- Removed the deprecated DOCKER_BUILD_NO_SUMMARY and DOCKER_BUILD_EXPORT_RETENTION_DAYS environment variables
- Removed legacy export-build tool support for build summary
Security 1
- Prevent workflow command injection in metadata logs
Original release notes, newest first
The list above is our reading of these notes; the originals from Docker are here, one fold per release.
v7.4.0
- Use the shared error helper for Buildx commands by @crazy-max in https://github.com/docker/build-push-action/pull/1620
- Prevent workflow command injection in metadata logs by @crazy-max in https://github.com/docker/build-push-action/pull/1617
- Bump @docker/actions-toolkit from 0.92.0 to 0.100.0 in https://github.com/docker/build-push-action/pull/1614 https://github.com/docker/build-push-action/pull/1618 https://github.com/docker/build-push-action/pull/1621
- Bump @humanfs/node from 0.16.7 to 0.16.8 in https://github.com/docker/build-push-action/pull/1609
- Bump brace-expansion from 1.1.13 to 1.1.18 in https://github.com/docker/build-push-action/pull/1592
- Bump csv-parse from 7.0.0 to 7.0.2 in https://github.com/docker/build-push-action/pull/1613
- Bump js-yaml from 4.3.0 to 4.3.2 in https://github.com/docker/build-push-action/pull/1605 https://github.com/docker/build-push-action/pull/1615
- Bump nanoid from 3.3.16 to 3.3.18 in https://github.com/docker/build-push-action/pull/1611
- Bump postcss from 8.5.10 to 8.5.25 in https://github.com/docker/build-push-action/pull/1590
- Bump postcss-selector-parser from 7.1.1 to 7.1.5 in https://github.com/docker/build-push-action/pull/1606
- Bump sigstore from 4.1.0 to 4.1.1 in https://github.com/docker/build-push-action/pull/1577
- Bump undici from 6.27.0 to 6.28.0 in https://github.com/docker/build-push-action/pull/1594
Full Changelog: https://github.com/docker/build-push-action/compare/v7.3.0...v7.4.0
v7.3.0
- Preserve names in esbuild bundle by @crazy-max in https://github.com/docker/build-push-action/pull/1567
- Bump @docker/actions-toolkit from 0.90.0 to 0.92.0 in https://github.com/docker/build-push-action/pull/1545 https://github.com/docker/build-push-action/pull/1572
- Bump @sigstore/core from 3.1.0 to 3.2.1 in https://github.com/docker/build-push-action/pull/1568
- Bump js-yaml from 4.1.1 to 4.3.0 in https://github.com/docker/build-push-action/pull/1566
- Bump tmp from 0.2.5 to 0.2.7 in https://github.com/docker/build-push-action/pull/1547
- Bump undici from 6.24.1 to 6.27.0 in https://github.com/docker/build-push-action/pull/1564
- Bump vite from 7.3.2 to 7.3.6 in https://github.com/docker/build-push-action/pull/1563
Full Changelog: https://github.com/docker/build-push-action/compare/v7.2.0...v7.3.0
v7.2.0
- Bump @actions/core from 3.0.0 to 3.0.1 in https://github.com/docker/build-push-action/pull/1525
- Bump @docker/actions-toolkit from 0.87.0 to 0.90.0 in https://github.com/docker/build-push-action/pull/1517
- Bump brace-expansion from 2.0.2 to 5.0.6 in https://github.com/docker/build-push-action/pull/1534
- Bump fast-xml-builder from 1.1.4 to 1.2.0 in https://github.com/docker/build-push-action/pull/1529
- Bump fast-xml-parser from 5.5.7 to 5.8.0 in https://github.com/docker/build-push-action/pull/1521
- Bump postcss from 8.5.6 to 8.5.10 in https://github.com/docker/build-push-action/pull/1526
- Bump tar from 6.2.1 to 7.5.15 in https://github.com/docker/build-push-action/pull/1533
Full Changelog: https://github.com/docker/build-push-action/compare/v7.1.0...v7.2.0
v7.1.0
- Git context query format support by @crazy-max in https://github.com/docker/build-push-action/pull/1505
- Bump @docker/actions-toolkit from 0.79.0 to 0.87.0 by @crazy-max in https://github.com/docker/build-push-action/pull/1505
- Bump brace-expansion from 1.1.12 to 1.1.13 in https://github.com/docker/build-push-action/pull/1500
- Bump fast-xml-parser from 5.4.2 to 5.5.7 in https://github.com/docker/build-push-action/pull/1489
- Bump flatted from 3.3.3 to 3.4.2 in https://github.com/docker/build-push-action/pull/1491
- Bump glob from 10.3.12 to 10.5.0 in https://github.com/docker/build-push-action/pull/1490
- Bump handlebars from 4.7.8 to 4.7.9 in https://github.com/docker/build-push-action/pull/1497
- Bump lodash from 4.17.23 to 4.18.1 in https://github.com/docker/build-push-action/pull/1510
- Bump picomatch from 4.0.3 to 4.0.4 in https://github.com/docker/build-push-action/pull/1496
- Bump undici from 6.23.0 to 6.24.1 in https://github.com/docker/build-push-action/pull/1486
- Bump vite from 7.3.1 to 7.3.2 in https://github.com/docker/build-push-action/pull/1509
Full Changelog: https://github.com/docker/build-push-action/compare/v7.0.0...v7.1.0
v7.0.0
- Node 24 as default runtime (requires Actions Runner v2.327.1 or later) by @crazy-max in https://github.com/docker/build-push-action/pull/1470
- Remove deprecated
DOCKER_BUILD_NO_SUMMARYandDOCKER_BUILD_EXPORT_RETENTION_DAYSenvs by @crazy-max in https://github.com/docker/build-push-action/pull/1473 - Remove legacy export-build tool support for build summary by @crazy-max in https://github.com/docker/build-push-action/pull/1474
- Switch to ESM and update config/test wiring by @crazy-max in https://github.com/docker/build-push-action/pull/1466
- Bump @actions/core from 1.11.1 to 3.0.0 in https://github.com/docker/build-push-action/pull/1454
- Bump @docker/actions-toolkit from 0.62.1 to 0.79.0 in https://github.com/docker/build-push-action/pull/1453 https://github.com/docker/build-push-action/pull/1472 https://github.com/docker/build-push-action/pull/1479
- Bump minimatch from 3.1.2 to 3.1.5 in https://github.com/docker/build-push-action/pull/1463
Full Changelog: https://github.com/docker/build-push-action/compare/v6.19.2...v7.0.0