fa9126c61f
Merge pull request #2171 from dvdksn/docs-no-cache-filter
...
docs: add --no-cache-filter example
2023-12-20 10:59:53 +01:00
ebae070f7e
docs: add --no-cache-filter example
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-20 08:58:52 +01:00
617f538cb3
Merge pull request #2170 from laurazard/bump-buildkit
...
deps: update buildkit, vendor changes
2023-12-19 15:08:29 +01:00
0f45b629ad
deps: update buildkit, vendor changes
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
2023-12-19 14:01:05 +00:00
ac5b3241b1
gitutil: sanitize root dir on WSL
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-12-19 09:27:32 +01:00
ee24a36c4f
enable golangci-lint for supported platforms
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-12-14 22:49:37 +01:00
8484fcdd57
Merge pull request #2162 from crazy-max/ci-username-var
...
ci: use org-wide var as username
2023-12-14 14:35:19 +01:00
45deb29f09
ci: use org-wide var as username
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-12-14 14:24:56 +01:00
6641167e7d
Merge pull request #2159 from docker/dependabot/github_actions/github/codeql-action-3
...
build(deps): bump github/codeql-action from 2 to 3
2023-12-14 10:13:58 +01:00
9f4987997c
Merge pull request #2154 from dvdksn/doc-annotations
...
docs: annotations
2023-12-14 10:07:18 +01:00
8337c25fa4
Merge pull request #2157 from crazy-max/swtich-account-push-bin
...
ci: use public bot account to push bin image
2023-12-13 20:49:23 +01:00
6b048e2316
build(deps): bump github/codeql-action from 2 to 3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-13 18:52:37 +00:00
54a1f0f0ea
ci: use public bot account to push bin image
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-12-13 15:33:22 +01:00
57dc45774a
Merge pull request #2131 from crazy-max/fix-driver-infer-platform
...
build: infer platform from first node if none set
2023-12-12 13:27:51 +01:00
9d8ac1ce2d
build: move solveOpt to local struct type
...
*client.SolveOpt in driver code is only used by build code.
For a clear separation of concerns, move it to an internal
struct type only accessible by BuildWithResultHandler func.
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-12-11 19:53:05 +01:00
0a0252d9b3
Merge pull request #2150 from crazy-max/builder-create
...
builder: move builder creation logic to builder package
2023-12-11 01:34:15 -08:00
c6535e9675
docs: add levels to bake file target.annotations
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-10 21:16:08 +01:00
d762c76a68
docs: build --annotation
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-10 21:16:08 +01:00
1091707bd5
docs: add lang tag for plaintext code blocks
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-10 20:35:08 +01:00
a4c392f4db
docs: imagetools create --annotation
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-12-10 20:35:08 +01:00
e4880c5dd1
Merge pull request #2151 from docker/dependabot/github_actions/actions/setup-go-5
...
build(deps): bump actions/setup-go from 4 to 5
2023-12-07 07:43:59 -08:00
b2510c6b94
build(deps): bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-06 18:12:24 +00:00
5b5c4c8c9d
Merge pull request #2146 from tonistiigi/gitutil-default-remote
...
gitutil: find default remote by tracking branch
2023-12-04 08:08:11 -08:00
ceb5bc807c
builder: move builder creation logic to builder package
...
This moves the builder creation logic to the builder package as we
plan to allow builder creation in the build ui of Docker Desktop so we
avoid drifting with the same logic in command package.
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-12-04 14:08:08 +01:00
b2f705ad71
Merge pull request #2147 from tonistiigi/bake-shared-authprovider
...
bake: use same auth provider for bake targets
2023-12-01 03:24:17 -08:00
6028094e6b
gitutil: find default remote by tracking branch
...
Using this command resolves remote based on remote
tracking branch of the curently selected branch and
should be more precise in case we can't predict if user
uses origin to mark upstream or their fork.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2023-11-30 23:33:51 -08:00
9516ce8e25
bake: use same auth provider for bake targets
...
The results from credential plugins are cached
and this reduces the lookup times.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2023-11-30 22:44:53 -08:00
d82637582c
Merge pull request #2145 from crazy-max/update-buildkit
...
vendor: github.com/moby/buildkit c9ee8491d74f (master)
2023-11-30 06:57:58 -08:00
1e80c70990
vendor: github.com/moby/buildkit c9ee8491d74f (master)
...
full diff:
- https://github.com/containerd/containerd/compare/v1.7.8...v1.7.9
- 5ae9b23c40...c9ee8491d7
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-11-29 16:40:13 +01:00
54032316f9
build: infer platform from first node if none set
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-11-28 11:55:47 +01:00
aac7a47469
build: fix incorrect solve opt platform from being set
...
This regression was introduced in 616fb3e55c
,
with the node resolution refactor.
The core issue here is just that we would unconditionally set the
solve opt's platform to the default current platform, which was
incorrect. We can prevent this easily by having a special case for the
default case, like we had before, and then not setting the platforms
field on this (which keeping the resolution behavior which was
introduced).
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-11-28 10:11:51 +00:00
aa0aeac297
build: move solve opt out of duplicate map
...
This was more error prone, as opposed to the approach used prior to
616fb3e55c
.
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-11-28 10:10:50 +00:00
cec4496d3b
Merge pull request #1787 from crazy-max/ls-format
...
ls: format opt
2023-11-23 06:00:17 -08:00
9368ecb67e
Merge pull request #2121 from robmry/align_add-host_with_cli
...
Permit '=' separator and '[ipv6]' in --add-host
2023-11-23 02:33:23 -08:00
20c947990c
ls: format opt
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2023-11-22 21:11:24 +01:00
eeeff1cf23
Permit '=' separator and '[ipv6]' in --add-host
...
Fixes docker/cli#4648
Make it easier to specify IPv6 addresses in the '--add-host' option by
permitting 'host=ip' in addition to 'host:ip', and allowing square
brackets around the address.
For example:
--add-host=hostname:127.0.0.1
--add-host=hostname:::1
--add-host=hostname=::1
--add-host=hostname=[::1]
Signed-off-by: Rob Murray <rob.murray@docker.com >
2023-11-22 10:52:14 +00:00
752680e289
Merge pull request #2136 from dvdksn/docs-du-verbose
...
docs: add buildx du verbose example
2023-11-21 16:49:55 -08:00
5bf02d9f7b
docs: add buildx du verbose example
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-11-21 15:55:50 +01:00
0962fdbb04
Merge pull request #2130 from jsternberg/remote-bootstrap-timeout
...
driver: add status reporting and a timeout to the remote driver bootstrap
2023-11-17 14:12:33 -08:00
1f5562315b
driver: add status reporting and a timeout to the remote driver bootstrap
...
This adds status reporting for the remote driver so it shows the length
of time it is spending waiting for the connection. If the service is
already present, this logger isn't shown but it should help provide a
message to show the user why the build is stalled.
A timeout of 20 seconds has been added to the bootstrap.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com >
2023-11-17 15:33:28 -06:00
a102d33738
Merge pull request #2128 from dvdksn/docs-du-reftypes
...
docs: update du cmd description
2023-11-17 04:51:11 -08:00
940e0a4a3c
docs: update du cmd description
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-11-17 11:02:20 +01:00
a978b2b7a3
Merge pull request #2117 from dvdksn/docs-cli-reference-refresh
...
docs: minor cli reference editorial updates
2023-11-16 11:25:52 -08:00
1326634c7d
chore: add docs reminder comments for driver opts
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-11-16 17:00:37 +01:00
7a724ac445
docs: minor cli reference editorial updates
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-11-16 16:05:38 +01:00
55e164a540
Merge pull request #2122 from crazy-max/docs-fix-image-inspect
...
docs: fix imagetools inspect json format
2023-11-16 06:47:37 -08:00
707ae87060
docs: fix imagetools inspect json format
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2023-11-16 14:50:56 +01:00
cb37886658
Merge pull request #2118 from thaJeztah/update_engine_25
...
vendor: buildkit 5ae9b23c40a9 (master / v0.13.0-dev), docker v25.0.0-beta.1
2023-11-15 07:32:06 -08:00
c855277d53
vendor: github.com/moby/buildkit 5ae9b23c40a9 (master / v0.13.0-dev)
...
full diff:
- 36ef4d8c0d...f098008783
- d5c1d785b0...5ae9b23c40
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-11-15 15:59:23 +01:00
898a8eeddf
vendor: github.com/docker/docker, github.com/docker/cli v25.0.0-beta.1
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-11-15 15:55:37 +01:00