Sebastiaan van Stijn
fb264ffc08
vendor: dario.cat/mergo v1.0.1
...
- fix: overwriteWithEmptyValue is forced to true when merging an object
involving maps
- fix: WithoutDereference should respect non-nil struct pointers
full diff: https://github.com/darccio/mergo/compare/v1.0.0...v1.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-09-12 18:18:47 +02:00
Laura Brehm
fcfdd7b91f
auth: add support for oauth device-code login
...
This commit adds support for the oauth [device-code](https://auth0.com/docs/get-started/authentication-and-authorization-flow/device-authorization-flow )
login flow when authenticating against the official registry.
This is achieved by adding `cli/internal/oauth`, which contains code to manage
interacting with the Docker OAuth tenant (`login.docker.com`), including launching
the device-code flow, refreshing access using the refresh-token, and logging out.
The `OAuthManager` introduced here is also made available through the `command.Cli`
interface method `OAuthManager()`.
In order to maintain compatibility with any clients manually accessing
the credentials through `~/.docker/config.json` or via credential
helpers, the added `OAuthManager` uses the retrieved access token to
automatically generate a PAT with Hub, and store that in the
credentials.
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2024-08-14 19:48:04 +01:00
Sebastiaan van Stijn
6440816c7c
vendor: github.com/docker/docker 2269acc7a31d (master, v-next)
...
removes (indirect) dependencie on the moby/sys/user/userns package, which
was retracted and moved to moby/sys/userns
- full diff: f3cf9359bd...2269acc7a3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-08 13:37:58 +02:00
Paweł Gronowski
b8a53ee340
vendor: github.com/docker/docker master (f3cf9359bdf6)
...
full diff: 2b1097f080...f3cf9359bd
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-08-08 11:44:02 +02:00
Sebastiaan van Stijn
40a5b297b6
vendor: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.21.0
...
commit 89db01ef97
added these tracing modules
as dependency, but did not require the otlptracehttp module. This module
was added later through f0a29af0f3
as indirect
dependency for docker/docker. The otlptracehttp and otlptracegrpc modules
have no dependency between each-other, but similar to their otlpmetric
cousins, are preferred to be on the same version.
This patch aligns their versions. No changes in vendored code;
full diff: https://github.com/open-telemetry/opentelemetry-go/compare/exporters/otlp/otlptrace/otlptracehttp/v1.19.0...exporters/otlp/otlptrace/otlptracehttp/v1.21.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-31 22:28:36 +02:00
Sebastiaan van Stijn
f0a29af0f3
vendor: docker/docker 2b1097f08088 (removes containerd dependency)
...
full diff: aae044039c...2b1097f080
The userns package in libcontainer was integrated into the moby/sys/user
module at commit 3778ae603c706494fd1e2c2faf83b406e38d687d.
The userns package is used in many places, and currently either depends
on runc/libcontainer, or on containerd, both of which have a complex
dependency tree. This patch is part of a series of patches to unify the
implementations, and to migrate toward that implementation to simplify
the dependency tree.
[3778ae603c706494fd1e2c2faf83b406e38d687d]: 3778ae603c
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-25 14:57:30 +02:00
Sebastiaan van Stijn
b34e8e4dff
vendor: github.com/moby/sys/sequential v0.6.0
...
full diff: https://github.com/moby/sys/compare/sequential/v0.5.0...sequential/v0.6.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-25 14:56:13 +02:00
Sebastiaan van Stijn
ea37ac9bac
vendor: github.com/moby/sys/symlink v0.3.0
...
full diff: https://github.com/moby/sys/compare/symlink/v0.2.0...symlink/v0.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-25 14:55:23 +02:00
Sebastiaan van Stijn
435c658333
vendor: github.com/moby/sys/signal v0.7.1
...
full diff: https://github.com/moby/sys/compare/signal/v0.7.0...signal/v0.7.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-25 14:54:29 +02:00
Sebastiaan van Stijn
501904d48f
vendor: golang.org/x/sys v0.22.0
...
full diff: https://github.com/golang/sys/compare/v0.21.0...v0.22.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-25 14:53:35 +02:00
Sebastiaan van Stijn
401048b9cb
vendor: github.com/containerd/containerd v1.7.20
...
no changes in vendored code
full diff: https://github.com/containerd/containerd/compare/v1.7.19...v1.7.20
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-19 19:01:54 +02:00
Sebastiaan van Stijn
e3e9b99015
vendor: github.com/docker/cli-docs-tool v0.8.0
...
no changes in vendored code
full diff: https://github.com/docker/cli-docs-tool/compare/v0.7.0...v0.8.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-17 15:23:23 +02:00
Sebastiaan van Stijn
e8baee9c7c
vendor: github.com/docker/docker aae044039ca4 (master, v-next)
...
full diff: 508cc7c612...aae044039c
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-16 19:01:14 +02:00
Sebastiaan van Stijn
a77ba7eda8
vendor: google.golang.org/genproto/googleapis/api 49dd2c1f3d0b
...
No changes in vendored files. This one got out of sync with the other modules
from the same repository.
full diff: d307bd883b...49dd2c1f3d
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-16 19:00:14 +02:00
Sebastiaan van Stijn
caa5d15e98
vendor: github.com/prometheus/procfs v0.15.1
...
full diff: https://github.com/prometheus/procfs/compare/v0.12.0...v0.15.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-16 18:46:30 +02:00
Sebastiaan van Stijn
0f712827f1
vendor: github.com/containerd/containerd v1.7.19
...
no changes in vendored code
full diff: https://github.com/containerd/containerd/compare/v1.7.18...v1.7.19
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-16 18:45:37 +02:00
Sebastiaan van Stijn
b28a1cd029
vendor: golang.org/x/sync v0.7.0
...
no changes in vendored code
full diff: https://github.com/golang/sync/compare/v0.6.0...v0.7.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-16 18:44:28 +02:00
Sebastiaan van Stijn
4cac8efb56
vendor: github.com/docker/docker 508cc7c61226 (master)
...
full diff: https://github.com/docker/docker/v27.0.3..508cc7c6122651c4dfeeec2e626568704cfaf0f9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-04 15:20:27 +02:00
Paweł Gronowski
404bf267f9
Merge pull request #5228 from thaJeztah/bump_bk_deps
...
vendor: update various dependencies
2024-07-04 11:10:05 +02:00
Sebastiaan van Stijn
a0c4e56dea
vendor: golang.org/x/net v0.25.0
...
full diff: https://github.com/golang/net/compare/v0.24.0...v0.25.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-04 09:39:45 +02:00
Sebastiaan van Stijn
723130d7fe
vendor: golang.org/x/crypto v0.23.0
...
no changes in vendored code
full diff: https://github.com/golang/crypto/compare/v0.22.0...v0.23.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-04 09:38:44 +02:00
Sebastiaan van Stijn
d33ef57dcb
vendor: golang.org/x/text v0.15.0
...
no changes in vendored files
full diff: https://github.com/golang/text/compare/v0.14.0...v0.15.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-04 09:38:04 +02:00
Sebastiaan van Stijn
21dbedd419
vendor: golang.org/x/sys v0.21.0
...
full diff: https://github.com/golang/sys/compare/v0.19.0...v0.21.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-04 09:32:57 +02:00
Sebastiaan van Stijn
f8e7c0a0d6
vendor: github.com/klauspost/compress v1.17.9
...
full diff: https://github.com/klauspost/compress/compare/v1.17.4...v1.17.9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-04 09:32:06 +02:00
David Karlsson
e91f0ded9c
docs: make buildx build the canonical reference doc
...
Move common flag descriptions to the buildx build reference, and make
that page the canonical page in docs. Also rewrite some content in
image_build to make clear that this page is only for the legacy builder.
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-07-03 08:55:16 +02:00
Paweł Gronowski
03409219af
Merge pull request #5213 from thaJeztah/vendor_sortorder_v1.1.0
...
vendor: github.com/fvbommel/sortorder v1.1.0
2024-07-01 17:20:24 +02:00
Sebastiaan van Stijn
0f6370c94b
vendor: github.com/fvbommel/sortorder v1.1.0
...
- Add a case-folding version of Natural sort order
This can be used to perform case-insensitive comparisons and sorting.
It's been placed in a separate sub-package because it requires the Unicode
tables in the standard library, which can add significantly to binary size.
full diff: https://github.com/fvbommel/sortorder/compare/v1.0.2...v1.1.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-01 13:10:44 +02:00
Sebastiaan van Stijn
2e6aaf05d4
vendor: github.com/docker/docker v27.0.3
...
full diff: https://github.com/docker/docker/compare/v27.0.2...v27.0.3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-01 12:28:52 +02:00
Sebastiaan van Stijn
9455d61768
vendor: github.com/docker/docker v27.0.2
...
no diff, as it's the same commit tagged: https://github.com/docker/docker/compare/e953d76450b6...v27.0.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-28 09:06:28 +02:00
Paweł Gronowski
1382fbe61e
vendor: github.com/docker/docker v27.0.2-dev (e953d76450b6)
...
full diff: 861fde8cc9...e953d76450
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit c97e8091a6
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-28 09:01:39 +02:00
Paweł Gronowski
ab0898ee32
vendor: github.com/docker/docker v27.0.2-dev (861fde8cc974)
...
full diff: https://github.com/docker/docker/compare/v27.0.1...861fde8cc974
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit 8945848025
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-28 09:01:01 +02:00
Paweł Gronowski
cfec21f28b
vendor: github.com/docker/docker v27.0.1
...
no change in vendored files, just changing a tag
full diff: https://github.com/docker/docker/compare/ff1e2c0de72a...v27.0.1
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit bf1a701820
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-28 08:59:48 +02:00
Paweł Gronowski
ad583961b6
vendor: github.com/docker/docker v27.0-dev (ff1e2c0de72a, master)
...
full diff: 81b2027979...ff1e2c0de7
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-06-21 15:18:13 +02:00
Sebastiaan van Stijn
1a04810073
vendor: github.com/docker/docker v27.0.1-rc.1
...
no diff; same commit, but tagged.
full diff: https://github.com/docker/docker/compare/018d93decfb5...v27.0.1-rc.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-20 23:53:47 +02:00
Paweł Gronowski
34d42bdf0c
vendor: github.com/docker/docker v27.0-dev (018d93decfb5)
...
full diff: 1a1f3cff45...018d93decf
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-06-20 14:00:27 +02:00
Sebastiaan van Stijn
2088c5963b
vendor: github.com/docker/docker 1a1f3cff45ec (master, v27.0-dev)
...
Rewrite local code to use the new container.Ulimit alias to start
transitioning away from direct uses of go-units.Ulimit.
full diff: https://github.com/docker/docker/compare/v27.0.0-rc.2...1a1f3cff45ec5aba4a520fae88b4f929eab8b3e8
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-20 13:04:54 +02:00
Sebastiaan van Stijn
4f00eee524
vendor: github.com/spf13/cobra v1.8.1
...
- release notes: https://github.com/spf13/cobra/releases/tag/v1.8.1
- full diff: https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-18 21:52:58 +02:00
Sebastiaan van Stijn
468a76779d
Merge pull request #5169 from thaJeztah/bump_swarmkit
...
vendor: github.com/moby/swarmkit/v2 v2.0.0-20240611172349-ea1a7cec35cb
2024-06-18 15:04:39 +02:00
Sebastiaan van Stijn
eae63069e6
vendor: github.com/moby/swarmkit/v2 v2.0.0-20240611172349-ea1a7cec35cb
...
Update the version to match what's used in docker/docker.
Full diff: c1c857e2dc...ea1a7cec35
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-18 14:32:49 +02:00
Sebastiaan van Stijn
3d017f30d6
vendor: github.com/docker/docker v27.0.0-rc.2
...
No diff as it's the same commit, but tagged. Just for transparency to
allow seeing differences between rc's.
full diff: https://github.com/docker/docker/compare/caf502a0bc44...v27.0.0-rc.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-18 14:03:41 +02:00
Paweł Gronowski
3b0d297aab
vendor: github.com/docker/docker caf502a0bc44 (v27.0.0-dev)
...
full diff: ec4bac431c...caf502a0bc
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-06-17 17:08:30 +02:00
Paweł Gronowski
11a3d8728b
vendor: github.com/docker/docker ec4bac431c88 (v27.0.0-dev)
...
full diff: ba69bd9c1e...ec4bac431c
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-06-17 10:18:07 +02:00
Paweł Gronowski
1bfec63b9f
vendor: github.com/docker/docker ba69bd9c1e48 (v27.0.0-rc.2-dev)
...
full diff: https://github.com/docker/docker/compare/v27.0.0-rc.1...ba69bd9c1e48
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-06-14 21:42:52 +02:00
Sebastiaan van Stijn
4ea91a73ee
vendor: golang.org/x/net v0.24.0
...
no changes in vendored code
full diff: https://github.com/golang/net/compare/v0.23.0...v0.24.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-13 18:19:48 +02:00
Sebastiaan van Stijn
91b63ac450
vendor: golang.org/x/crypto v0.22.0
...
no changes in vendored code
full diff: https://github.com/golang/crypto/compare/v0.21.0...v0.22.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-13 18:18:36 +02:00
Sebastiaan van Stijn
a2ccd3eb00
vendor: golang.org/x/term v0.19.0
...
no changes in vendored code
full diff: https://github.com/golang/term/compare/v0.18.0...v0.19.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-13 18:17:46 +02:00
Sebastiaan van Stijn
634b19f5ed
vendor: golang.org/x/sys v0.19.0
...
full diff: https://github.com/golang/sys/compare/v0.18.0...v0.19.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-13 18:14:41 +02:00
Sebastiaan van Stijn
872935f1c0
vendor: github.com/docker/docker v27.0.0-rc.1
...
no changes in vendored code
full diff: https://github.com/docker/docker/compare/bcd280a3ed2d...v27.0.0-rc.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-12 23:46:01 +02:00
Paweł Gronowski
1fc73b470b
vendor: github.com/docker/docker v27.0.0-dev (bcd280a3ed2d)
...
full diff: 9d9488468f...bcd280a3ed
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-06-12 13:59:03 +02:00
Sebastiaan van Stijn
ad62b68693
vendor: github.com/containerd/platforms v0.2.1
...
- Remove hcsshim import from repo
- un-exports GetOsVersion
- Update windows matcher to not compare empty os version
full diff: https://github.com/containerd/platforms/compare/v0.2.0...v0.2.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-06-12 00:57:47 +02:00