Commit Graph
3903 Commits
Author SHA1 Message Date
Sebastiaan van Stijn 76355684bc docs: fix typo
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-08 18:13:50 +01:00
Jonathan A. Sternberg 1da36d13e8 dap: use container fs requests to get a more accurate state for the file system
The container filesystem request API that has been added to buildkit
allows a container created through the `NewContainer` API to also access
the filesystems. This is useful when an error occurs because it allows
us to grab the mutable state of the mounts used during the actual build
rather than the input version copies which don't contain any files that
were added as part of the failed command.

This gives us a more accurate view of the filesystem that was previously
only accessible through using `exec` and `ls`/`cat` commands that may
not always exist.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2026-02-05 09:40:55 -06:00
Tõnis TiigiandGitHub 06f438a4c8 Merge pull request #3631 from jsternberg/dap-better-source-names
dap: improve file explorer source names
2026-02-04 12:06:34 -08:00
CrazyMaxandGitHub 67915f988c Merge pull request #3617 from thaJeztah/bump_modules
vendor: github.com/docker/cli v29.2.1
2026-02-04 12:59:30 +01:00
Sebastiaan van Stijn 79b14eaeab vendor: github.com/docker/cli v29.2.1
full diff: https://github.com/docker/cli/compare/v29.2.0...v29.2.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-04 11:03:56 +01:00
Sebastiaan van Stijn 8bd5bd4983 vendor: github.com/docker/cli v29.2.0
full diff: https://github.com/docker/cli/compare/v29.1.5...v29.2.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-04 11:03:56 +01:00
Sebastiaan van Stijn 9aa7e1578a vendor: moby/api v1.53.0, moby/client v0.2.2
full diff:

- api: https://github.com/moby/moby/compare/api/v1.52.0...api/v1.53.0
- client: https://github.com/moby/moby/compare/client/v0.2.1...client/v0.2.2

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-04 11:03:56 +01:00
Sebastiaan van Stijn 6b71de00a0 vendor: github.com/go-viper/mapstructure/v2 v2.5.0
full diff: https://github.com/go-viper/mapstructure/compare/v2.4.0...v2.5.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-04 11:03:55 +01:00
Sebastiaan van Stijn eaf81b65d9 vendor: github.com/klauspost/compress v1.18.3
no changes in vendored code

- fixes / downstream CVE-2025-61728

full diff: https://github.com/klauspost/compress/compare/v1.18.2...v1.18.3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-04 11:03:53 +01:00
CrazyMaxandGitHub c1a52c4060 Merge pull request #3628 from thaJeztah/bump_x_deps
vendor: update golang.org/x dependencies
2026-02-04 10:31:22 +01:00
Tõnis TiigiandGitHub 32e47355af Merge pull request #3627 from tonistiigi/imagetools-auth
imagetools: use dockerconfig for auth
2026-02-03 13:14:33 -05:00
CrazyMaxandGitHub 0a62a9eb7d Merge pull request #3635 from crazy-max/update-github-builder
ci: update docker/github-builder to v1
2026-01-30 16:05:11 +01:00
CrazyMax f6060808a4 ci: update docker/github-builder to v1
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-01-29 23:35:35 +01:00
CrazyMaxandGitHub b7bb516036 Merge pull request #3634 from crazy-max/update-buildkit
dockerfile: update buildkit to v0.27.1
2026-01-29 13:45:18 +01:00
CrazyMax 210de91d49 dockerfile: update buildkit to v0.27.1
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-01-29 12:42:23 +01:00
Tõnis TiigiandGitHub d88bf660ce Merge pull request #3633 from jsternberg/debugger-build-metrics
commands: adds metrics associated with the debugger
2026-01-28 13:14:47 -08:00
Jonathan A. Sternberg 3e0e9333c2 commands: adds metrics associated with the debugger
Add metrics associated with the debugger that are reported through the
metrics writer. This adds a few attributes that are only added when a
debugger is used with either the `debug` command or `dap` command.

At the moment, these metrics show up the exact same as a build and we
can't identify if something is using `dap` or `debug` since they use the
same code path.

This also adds a new available metric that can be utilized by plugins to
report additional information. The metrics will check if an environment
variable `BUILDX_DAP_USER_AGENT` is sent and that will get included in
the metrics if they are enabled.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2026-01-28 14:05:11 -06:00
Tõnis TiigiandGitHub 694bd9ad16 Merge pull request #3623 from tonistiigi/imagetools-request-fixes
imagetools: avoid excessive HTTP requests on create
2026-01-28 09:13:03 -08:00
Tonis Tiigi 87c77aca7b imagetools: avoid trying to load attestations inline references
When creating resulting image index it is wasteful
to check for attestations for the descriptors in original
index what were already attestation for subject manifest.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-28 08:28:29 -08:00
Tonis Tiigi 510369170a imagetools: fix excessive copies on create command
Currently needed manifests were filtered out and then
copied in a loop, but for each copy still the full
unfiltered descriptor was copied instead of single
manifest, resulting multiple push attempts for same
descriptor.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-28 08:27:17 -08:00
Jonathan A. Sternberg 30406735a5 dap: improve file explorer source names
Improves the naming for file explorer names when the input relates
directly to a source. This is most common when the input is the context
(which is just usually a simple source like `local://context`).

This should help in most circumstances in determining which input is
which.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2026-01-28 10:04:37 -06:00
CrazyMaxandGitHub 841017f665 Merge pull request #3629 from thaJeztah/errs_alias
use consistent alias for stdlib "errors"
2026-01-27 12:58:14 +01:00
CrazyMaxandGitHub fd4fbd0be8 Merge pull request #3626 from thaJeztah/native_multierror
commands/history: rewrite with stdlib multi-errors
2026-01-27 12:53:12 +01:00
Sebastiaan van Stijn 3eee42b002 use consistent alias for stdlib "errors"
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-27 11:14:27 +01:00
CrazyMaxandGitHub 715580be70 Merge pull request #3620 from docker/dependabot/github_actions/peter-evans/create-pull-request-8.1.0
build(deps): bump peter-evans/create-pull-request from 8.0.0 to 8.1.0
2026-01-27 10:46:04 +01:00
CrazyMaxandGitHub 1c8879c65e Merge pull request #3624 from tonistiigi/remove-context-override
imagetools: remove temp workaround for fixed containerd bug
2026-01-27 10:43:53 +01:00
Sebastiaan van Stijn efe1aa593e vendor: golang.org/x/mod v0.32.0
full diffs:

- https://cs.opensource.google/go/x/tools/+/refs/tags/v0.39.0...refs/tags/v0.41.0
- https://cs.opensource.google/go/x/mod/+/refs/tags/v0.31.0...refs/tags/v0.32.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-27 10:05:18 +01:00
Sebastiaan van Stijn 5d44afbda4 vendor: golang.org/x/crypto v0.47.0
full diffs:

- https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.46.0...refs/tags/v0.47.0
- https://cs.opensource.google/go/x/net/+/refs/tags/v0.48.0...refs/tags/v0.49.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-27 10:02:48 +01:00
Sebastiaan van Stijn 746c343d18 vendor: golang.org/x/text v0.33.0
full diff: https://cs.opensource.google/go/x/text/+/refs/tags/v0.32.0...refs/tags/v0.33.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-27 10:02:48 +01:00
Sebastiaan van Stijn 95a1cb94b3 vendor: golang.org/x/tools v0.40.0
full diff: https://cs.opensource.google/go/x/tools/+/refs/tags/v0.39.0...refs/tags/v0.40.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-27 10:02:48 +01:00
Sebastiaan van Stijn 214ebd8434 vendor: golang.org/x/term v0.39.0
full diff: https://cs.opensource.google/go/x/term/+/refs/tags/v0.38.0...refs/tags/v0.39.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-27 10:02:48 +01:00
Sebastiaan van Stijn 40d068e12c vendor: golang.org/x/sys v0.40.0
full diff: https://cs.opensource.google/go/x/sys/+/refs/tags/v0.39.0...refs/tags/v0.40.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-27 10:02:48 +01:00
CrazyMaxandGitHub 3b3895d884 Merge pull request #3622 from tonistiigi/buildkit-v0.27.0
Dockerfile: update buildkit to v0.27.0
2026-01-27 09:20:00 +01:00
Tonis Tiigi 27dde04ab5 imagetools: use dockerconfig for auth
Enables fallback for DHI and Scout registries and
repo/scope specific credentials like supported for builds.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-26 10:15:14 -08:00
Tonis Tiigi e254cf1985 auth: create new authorizer for imagetools
Based on containerd Authorizer.

Removed unused RefreshToken, fixed error handling.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-26 10:14:21 -08:00
Sebastiaan van Stijn 39ee64df71 commands/history: rewrite with stdlib multi-errors
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-26 12:53:33 +01:00
Tonis Tiigi 8f71a4805e imagetools: remove temp workaround for fixed containerd bug
The issue has been fixed in containerd/containerd#12508

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-23 09:50:20 -08:00
Tonis Tiigi df56af4e0c Dockerfile: update buildkit to v0.27.0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-21 17:05:40 -08:00
Tõnis TiigiandGitHub 44945d71ff Merge pull request #3621 from tonistiigi/vendor-buildkit-v0.27
vendor: update buildkit to v0.27.0
2026-01-21 14:48:45 -08:00
Tonis Tiigi 08e5e8ebf2 vendor: update buildkit to v0.27.0
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-21 14:32:32 -08:00
dependabot[bot]andGitHub 23ceeffc69 build(deps): bump peter-evans/create-pull-request from 8.0.0 to 8.1.0
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/98357b18bf14b5342f975ff684046ec3b2a07725...c0f553fe549906ede9cf27b5156039d195d2ece0)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: 8.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-21 18:33:13 +00:00
Tonis Tiigi c01e50342b build: send individual shared keys for local build contexts
Allows avoiding the case where two separate builds using
same context name would use the same destination directory
for upload.

Requires updated frontend to handle these new keys.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-20 19:08:05 -08:00
Tõnis TiigiandGitHub 79763c61b3 Merge pull request #3616 from thaJeztah/bump_cli
vendor: github.com/docker/cli v29.1.5
2026-01-20 10:22:06 -08:00
Sebastiaan van Stijn 0d343eff2d vendor: github.com/docker/cli v29.1.5
no changes in code

full diff: https://github.com/docker/cli/compare/v29.1.4...v29.1.5

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-01-19 13:08:21 +01:00
Tõnis TiigiandGitHub 9c33ef3ed3 Merge pull request #3612 from tonistiigi/dhi-auth
dockerconfig: add fallback for loading DHI and Scout credentials
2026-01-16 14:27:54 -08:00
Tõnis TiigiandGitHub 9567f7f4d2 Merge pull request #3614 from tonistiigi/policy-json-stub
commands: remove policy json-schema stub
2026-01-16 14:27:33 -08:00
Tõnis TiigiandGitHub 3dabbc568b Merge pull request #3615 from tonistiigi/vendor-buildkit-v0.27.0-rc2
vendor: update buildkit to v0.27.0-rc2
2026-01-16 14:13:10 -08:00
Tonis Tiigi 3fd58dff71 vendor: update buildkit to v0.27.0-rc2
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-16 13:56:16 -08:00
Tõnis TiigiandGitHub 819ae5d3e1 Merge pull request #3611 from tonistiigi/policy-update-v0.31-rc2
Updates and fixes to policy support
2026-01-16 12:52:06 -08:00
Tonis Tiigi d0e4db27e0 commands: remove policy json-schema stub
Remove stub for now so we don't ship it in a release.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-16 12:48:46 -08:00