commit 0cf41d3ddb4e0359ec45f18a17ee134862b7490c89dc9aec09715bda6525e5d7 Author: Johannes Kastl Date: Sat Sep 14 13:34:38 2024 +0000 update to 0.17.1 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker-buildx?expand=0&rev=47 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..c676823 --- /dev/null +++ b/_service @@ -0,0 +1,23 @@ + + + https://github.com/docker/buildx + git + .git + v0.17.1 + @PARENT_TAG@ + enable + v(.*) + docker-buildx + + + + + + + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..f705695 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/docker/buildx + 257815a6fbaee88976808020bf04274388275ae8 \ No newline at end of file diff --git a/buildx-0.15.1.tar.gz b/buildx-0.15.1.tar.gz new file mode 100644 index 0000000..0a358ca --- /dev/null +++ b/buildx-0.15.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4617e17e7d95bf878992a308a270a65b7fac3577be0a663143cd58a6ea80c6f +size 11563057 diff --git a/buildx-0.16.1.tar.gz b/buildx-0.16.1.tar.gz new file mode 100644 index 0000000..8c982ed --- /dev/null +++ b/buildx-0.16.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b03cf9194b9c860561f066e5c150bed4843e80d3ddf28e17d794aa09f5e42365 +size 11694401 diff --git a/buildx-0.16.2.tar.gz b/buildx-0.16.2.tar.gz new file mode 100644 index 0000000..a3db388 --- /dev/null +++ b/buildx-0.16.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09b7e13f11e3ceffc8a81a7b2e6ac0c372645bf1ada6c4c8c307bca998a7a985 +size 11696763 diff --git a/docker-buildx-0.17.0.obscpio b/docker-buildx-0.17.0.obscpio new file mode 100644 index 0000000..0e362e1 --- /dev/null +++ b/docker-buildx-0.17.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3fa18fca3afde0dbc19918484c8a89e81c112b0415d2b64354e7d9a7b355304d +size 65705486 diff --git a/docker-buildx-0.17.1.obscpio b/docker-buildx-0.17.1.obscpio new file mode 100644 index 0000000..1749eb3 --- /dev/null +++ b/docker-buildx-0.17.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0101db9b3da3cb967897d52a23f70ec7786209b2dcbbef221687e2da2330f534 +size 65709582 diff --git a/docker-buildx.changes b/docker-buildx.changes new file mode 100644 index 0000000..b249be4 --- /dev/null +++ b/docker-buildx.changes @@ -0,0 +1,1440 @@ +------------------------------------------------------------------- +Sat Sep 14 11:32:20 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.17.1: + * [v0.17] update docker/cli to 48a2cdff97 + * ci: fix golvulncheck job permissions + * builder: do not set network.host entitlement flag if already + set in buildkitd conf + * bake: fix missing omitempty and optional tags for network field + +------------------------------------------------------------------- +Sat Sep 14 11:09:08 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.17.0: + * vendor: update buildkit to v0.16.0 + * vendor: update buildkit to v0.16.0-rc2 + * update mermaid diagram to avoid GH mermaid issues + * build(deps): bump peter-evans/create-pull-request from 7.0.0 to + 7.0.1 + * docs: update run mount secrets examples using env + * chore: update AUTHORS and mailmap + * hack(authors): bump to alpine 3.20 + * fix lint.PrintLintViolations signature change + * docs: add docs for bake network mode config + * docs: add docs for bake entitlements config + * vendor: update buildkit to v0.16.0-rc1 + * bake: allow setting networkmode in HCL/JSON + * build(deps): bump peter-evans/create-pull-request from 6.1.0 to + 7.0.0 + * bake: read original command name from the env for prompt + * docs: update links to moved manuals pages + * bake: enable support for entitlements + * print out the number of warnings after completing a rule check + * docs: add project processing guide + * build: avoid possible panic when reading git info + * commands: add debug as persistent flag + * docs: use gh alert syntax for callouts + * metrics: add mutex to the metric writer + * build: allow builds from stdin for multi-node builders + * chore: rename PrintFunc to CallFunc + * build: when building multiple targets include name in error + * bake: add basename, dirname and sanitize functions + * build: skip build ref and provenance metadata for subrequests + * build: update since session signature has changed + * vendor: update buildkit to 664c2b469f19 + * hack: ensure SARIF output has results field defined for + govulncheck + * metrics: add metrics for bake command + * vendor: update compose-go to v2.1.6 + * support metadata file with call flag for build and bake + commands + * builder: move kube config handling to k8s driver package + * metricwriter: compile regular expressions only on first use + * Dockerfile: update to docker 27.1.1 + * docs: fix metadata section for build command + * ci: sync labels when files are reverted or no longer changed + with labeler + * govulncheck to report known vulnerabilities + * vendor: update buildkit to v0.15.1 + * ci: skip scout job on forked repo + * ci: checkout step for scout job + * bake: use shared session for local sources for multiple targets + * bake: fix printer handling + * Bump compose-go v2.1.5 + * ci: scan bin image with docker scout + * tests: build multiplatform + * build(deps): bump softprops/action-gh-release from 2.0.6 to + 2.0.8 + * chore: update dependabot labels + * test: bake print + * bake: check printer before printing warnings + * clarify the appropriate place to use the debug flag when + viewing warnings + * bump compose-go to v2.1.4 + * build: refactor setting git info to local mounts + * driver: refactor GetDriver func to take init config + * remote: avoid signal names map on init + * remoteutil: fix pkg remove unnecessary map initialization + * hclparser: avoid unnecessary allocations in init + * update errors handling allocations and comparison + * build: don't force default configuration + * vendor: google.golang.org/appengine v1.6.8 + * vendor: github.com/gorilla/mux v1.8.1 + * fix issues in .golangci.yml and add validation check + * vendor: update docker/distribution to v2.8.3 + +------------------------------------------------------------------- +Thu Jul 25 17:38:39 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.16.2: + * vendor: update buildkit to v0.15.1 + +------------------------------------------------------------------- +Thu Jul 18 18:54:02 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.16.1: + * clarify the appropriate place to use the debug flag when + viewing warnings + * test: bake print + * bake: check printer before printing warnings + +------------------------------------------------------------------- +Thu Jul 11 18:43:30 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.16.0: + * Notable Changes + - Build command now ensures that multi-node builds use the same + build reference for each node #2572 + - Bake command now supports --call and --check flags and call + key in target definition for selecting custom build methods + #2556 #2576 + - Bake definition variables and targets supports new + description key for defining text-based description that can + be inspected later #2556 + - Experimental: Bake command supports new --list-targets and + --list-variables flags for inspecting the definition and + possible configuration options for your project. #2556 + - Bake command now supports printing warnings similarly to the + build command. #2501 + - Avoid duplicate requests and improve the performance of + remote driver #2501 + - Build warnings can now be saved to the metadata file when + defining BUILDX_METADATA_WARNINGS=1 #2551 #2521 #2550 + - Improve message of --check when no warnings are detected + #2549 + - Fix support for multi-type annotations during build #2522 + - Fix possible inefficient transfer of files when switching + projects due to incremental transfer reuse (regression from + v0.14+) #2558 + - Fix incorrect default load for chained Bake targets #2583 + - Fix incorrect COMPOSE_PROJECT_NAME handling in Bake #2579 + - Fix index annotations support for multi-node builds #2546 + - Fix capturing provenance metadata for builds from remote + context #2560 + +------------------------------------------------------------------- +Wed Jun 19 10:33:11 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.15.1: + * build: update lint fallback image to dockerfile 1.8.1 + * vendor: update buildkit v0.14.1 + * Add comment to document the purpose behind the non-standard + handling of the error + * update the lint subrequest call to error when a build error was + encountered during linting + * Dockerfile: update docker engine to 26.1.4 + * remove use of deprecated containerd/containerd/errdefs + +------------------------------------------------------------------- +Tue Jun 11 20:02:07 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.15.0: + * New --call option allows setting evaluation method for a build, + replacing the previous experimental --print flag. #2498 #2487 + #2513 In addition to default "build", the following methods are + implemented by Dockerfile frontend: + - check - Run validation routines for your build configuration. + These are the same validations that would show up as warnings + during build. There is also shortcut flag --check for this + option. + - outline - Show configuration that would be used by current + build, including all the build-args, secrets, SSH etc that + your build would use. + - targets- Show all available targets and their descriptions. + * New --prefer-index flag has been added to imagetools create + command to control the behavior of creating image out of one + single-platform image manifest. #2482 + * Kubernetes driver allows configuring deployment timeout #2492 + * New metrics definitions have been added for build warning types + #2482 #2507 + * Prune and Disk usage commands now support negative and prefix + filters #2473 + * Building Compose files with Bake now supports passing SSH + forwarding configuration #2445 + * Compose compatibility has been updated to v2.1.2 #2502 #2425 + * Fix issue with configuring Kubernetes driver with custom TLS + certificates #2454 + * Fix concurrent kubeconfig access when loading nodes #2497 + +------------------------------------------------------------------- +Wed May 22 17:32:10 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.14.1: + * Fix possible duplicate requests when setting up a connection to + buildkit instance #2467 + * Fix error handling when merging multi-node build results #2424 + * Fix creating metadata file if --print is used #2422 + * Fix creating an empty image when "default load" and --print are + both set #2421 + * Fix bake files that use same named context pointing to another + target multiple times with different names #2444 + * Defer metrics provider setup to updated docker/cli library + #2460 + +------------------------------------------------------------------- +Thu Apr 18 19:02:50 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.14.0: + Notable changes + * build: set record provenance in metadata file #2280 + * bake: add git authentication support for remote definitions + #2363 + * driver: add ephemeral-storage and scheduler name options to + kubernetes driver #2370 #2415 + * new default-load driver-opt can be set for container and k8s + instances on buildx create to load build results to Docker by + default #2259 + * build: printing with --print=lint uses BuildKit formatter #2404 + #2406 #2417 + * build: allow status code responses for --print that set exit + code for process #2408 + * bake: add indexof hcl func #2384 + * build: metrics now measure idle time, export image, run + operations, image transfers for image source operations during + build #2402 #2373 #2298 #2317 #2316 #2271 + * build: metrics to the docker context endpoint does not require + experimental anymore #2344 + * compose spec support has been updated to v2.0.2 #2391 + * build: builds with --print are now marked as internal and don't + get recorded in build history #2416 + * fix --load flag used together output definitions from file with + bake #2336 + * fix build from stdin when experimental mode enabled #2394 + * fix possible issue where delegated traces could be duplicated + #2362 + * fix JSON formatting for custom build --print commands #2374 + +------------------------------------------------------------------- +Wed Mar 13 06:58:40 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.13.1: + * bake: fix output handling for push + * tests: create remote with container helper + * remote: fix connhelpers with custom dialer + * docs: fix link to new target in dockerfile reference + * ci(docs-release): manual trigger support + * ci(docs-release): fix vendoring step + +------------------------------------------------------------------- +Wed Mar 13 06:52:23 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.13.0: + * vendor: update to buildkit v0.13.0 + * test: multi exporters + * build: handle push/load shorthands for multi exporters + * vendor: github.com/docker/docker v26.0.0-rc1 + * Replace deprecated docker types usage + * ci(fix): remove underscore in docs data dir + * ci: fix docs-release workflow + * imagetools: supress warnings for dsse mediatypes + * Add support for DSSE envelope for attestation and provenance in + imagetools + * build: allow multiple exports if supported by buildkit + * build(deps): bump peter-evans/create-pull-request from 6.0.0 to + 6.0.1 + * remote: use winio DialPipeContext for named pipes + * pin to go 1.21 + * vendor: github.com/moby/buildkit v0.13.0-rc3 + * commands: handle ctrl-c on active prompt + * vendor: update compose-go to v2.0.0-rc.8 + * vendor: github.com/moby/buildkit v0.13.0-rc2 + * vendor: github.com/serialx/hashring 22c0c7ab6b1b (master) + * vendor: update github.com/google/uuid to v1.6.0 + * vendor: bump k8s dependencies to v0.29.2 + * build: set build ref in response + * test: build shm-size and ulimit + * driver: set network.host entitlement by default for container + drivers + * driver: test bridge network mode + * vendor: github.com/moby/buildkit 8e3fe35738c2 (v0.13.0-dev) + * docs(driver): set buildkitd network mode + * ci: set codecov token + * build: enhance error message for unsupported attestations + * driver: make buildkitd "config" and "flags" names consistent + * ci: update docs-upstream workflow + * metrics: measure context transfers for local source operations + * vendor: github.com/moby/buildkit db304eb93126 (v0.13.0-dev) + * bake: avoid evaluating parent targets before child LLB loaded + * Fix typo in URL + * docs: more context around shm-size and ulimit usage + * bake: ulimits support + * bake: shm-size support + * test: fix message output + * docs: update external link paths + * vendor: github.com/docker/cli-docs-tool v0.7.0 + * metricutil: remove BUILDX_EXPERIMENTAL from internal docker + reporting + * metrics: add build command duration metric + * don't print build details when progress is rawjson + * Add dial-stdio command + * add npipe url scheme support - enables remote builder and + buildx create on windows Signed-off-by: Ian King'ori + + * docker-container: restart-policy opt + * Dockerfile: update to Docker Engine v25.0.2 + * update xx to 1.4.0 + * vendor: github.com/containerd/console v1.0.4 + * vendor: github.com/moby/buildkit 6bd81372ad6f (v0.13.0-dev) + * vendor: github.com/aws/aws-sdk-go-v2/config v1.26.6 + * vendor: github.com/docker/cli v25.0.2 + * vendor: github.com/docker/docker v25.0.2 + * Upgrade buildkit to v0.12.5 + * ci: bump codecov/codecov-action to 4 + * vendor: github.com/containerd/console 8f6c4e4 + * bake: fix definitions merge order + * fix: avoid modifying source during resolver.Copy + * build(deps): bump peter-evans/create-pull-request from 5.0.2 to + 6.0.0 + * chore: ignore docker/docs deps with dependabot + * test: revert non-deterministic compose context path + * vendor: update compose-go to v2.0.0-rc.3 + * otel: include service instance id attribute to resource and + move to metricutil package + * vendor: github.com/spf13/cobra v1.8.0 + * vendor: github.com/moby/buildkit 6bd81372ad6f (master) + * vendor: github.com/docker/cli v25.0.1 + * vendor: github.com/docker/docker v25.0.1 + * vendor: github.com/moby/sys/mountinfo v0.7.1 + * vendor: golang.org/x/tools v0.14.0, golang.org/x/mod v0.13.0, + golang.org/x/sync v0.4.0 + * vendor: golang.org/x/sys v0.16.0 + * vendor: github.com/google/uuid v1.5.0 + * vendor: github.com/google/go-cmp v0.6.0 + * vendor: github.com/containerd/containerd v1.7.12 + * bump gotest-annotations to + fa6141aedf23596fb8bdcceab9cce8dadaa31bd9 + * ci(docs-upstream): pin reusable workflow + * bump actions/upload-artifact and actions/download-artifact to 4 + * build(deps): bump actions/setup-go from 4 to 5 + * gitutil: check git bash env when testing + * build: resolve 8.3 filename format to long one on Windows + * ci: test-unit job matrix for win/macos/ubuntu + * Dockerfile: update to Docker Engine v25.0.1 + * Dockerfile: update to BuildKit v0.12.4 + * simplify signal handling for cobra context + * cobra/commands: cancel command context on signal + * deps: remove `appcontext`, use `cmd.Context` + * docs: update link to `docker build` reference + * Mark experimental flags in `--help` + * update to go1.21.6 + * rm: support removing multiple builders at once + * metrics: send metrics to the otel collector endpoint when + active + * vendor: github.com/docker/go-connections v0.5.0 + * deps: update buildkit, vendor changes + * driver(container): fix conditional statement for error handling + * build: set local dirs as frontend attributes + * docs: add --no-cache-filter example + * deps: update buildkit, vendor changes + * gitutil: sanitize root dir on WSL + * enable golangci-lint for supported platforms + * ci: use org-wide var as username + * build(deps): bump github/codeql-action from 2 to 3 + * ci: use public bot account to push bin image + * build: move solveOpt to local struct type + * docs: add levels to bake file target.annotations + * docs: build --annotation + * docs: add lang tag for plaintext code blocks + * docs: imagetools create --annotation + * build(deps): bump actions/setup-go from 4 to 5 + * builder: move builder creation logic to builder package + * gitutil: find default remote by tracking branch + * bake: use same auth provider for bake targets + * vendor: github.com/moby/buildkit c9ee8491d74f (master) + * build: infer platform from first node if none set + * build: fix incorrect solve opt platform from being set + * build: move solve opt out of duplicate map + * ls: format opt + * Permit '=' separator and '[ipv6]' in --add-host + * docs: add buildx du verbose example + * driver: add status reporting and a timeout to the remote driver + bootstrap + * docs: update du cmd description + * chore: add docs reminder comments for driver opts + * docs: minor cli reference editorial updates + * docs: fix imagetools inspect json format + * vendor: github.com/moby/buildkit 5ae9b23c40a9 (master / + v0.13.0-dev) + * vendor: github.com/docker/docker, github.com/docker/cli + v25.0.0-beta.1 + * vendor: github.com/docker/go-connections fa09c952e3ea + (v0.5.0-dev) + * vendor: github.com/docker/docker-credential-helpers v0.8.0 + * vendor: github.com/klauspost/compress v1.17.2 + * vendor: github.com/go-logr/logr v1.2.4 + * vendor: github.com/cenkalti/backoff/v4 v4.2.1 + * vendor: github.com/containerd/containerd v1.7.8 + * vendor: google.golang.org/grpc v1.58.3 + * vendor: golang.org/x/oauth2 v0.10.0 + * vendor: google.golang.org/protobuf v1.31.0 + * vendor: golang.org/x/tools v0.10.0 + * build(deps): bump actions/github-script from 6 to 7 + +------------------------------------------------------------------- +Mon Jan 15 20:33:10 UTC 2024 - opensuse_buildservice@ojkastl.de + +- Update to version 0.12.1: + * driver(container): fix conditional statement for error handling + * docs: add levels to bake file target.annotations + * docs: build --annotation + * docs: add lang tag for plaintext code blocks + * docs: imagetools create --annotation + +------------------------------------------------------------------- +Fri Nov 17 05:52:04 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.12.0: + * Revert "build: rework node resolution" + * chore: add docs reminder comments for driver opts + * docs: minor cli reference editorial updates + * docs: fix imagetools inspect json format + * build: rework node resolution + * build: wait from child targets to complete before session + release + * driver: docker-container driver uses --config correctly in + rootless mode + * bake: fix global target access when using a matrix + * bake: improve error message for empty definition + * ci: enable SAST scanning with CodeQL + * build: make annotations work with push flag + * command(bake): Specify local and remote bake files + * builder: return error if all nodes fail to boot + * bake: display read definition files in build output + * vendor: update buildkit to master@d5c1d785b042 + * compose: fix deprecated Load func + * vendor: update compose-go to v1.20.0 + * chore: fix lint issues + * bake: set attribute even if diagnosed as duplicated + * bake: fork merged bodies interface logic from hcl repo and use + it + * debug: print error message on monitor instead of processes pkg + * debug: monitor: return last build result + * bake: deny access to local dockerfile for remote invocation + with local context + * bake: local dockerfile support for remote definition + * docs: clarify bake file lookup order and merge + * vendor: update github.com/zclconf/go-cty to v1.14.1 + * vendor: update github.com/hashicorp/go-cty-funcs to + a090f58aa992 + * vendor: update github.com/hashicorp/hcl/v2 to v2.19.1 + * fix lint issues after update + * update golangci-lint to 1.54.2 + * build: fix racy localstate group removal + * debug: do not print error when error is nil + * debug: reload: print error message + * update to go 1.21.3 + * test: docker host-gateway + * driver(docker): opt to set additional dial meta to the client + * builder: use variadic options in LoadNodes func + * driver: move Features and HostGatewayIP to specific driver + * ci: update docs upstream validation workflow + * debug: update docs + * monitor: print error information before launching monitor + * controller: return original error to preserve stacktrace + * process: Do not print error log when process is canceled + * debug: set on=error by default + * exec, rollback: return error when no session found + * debug: Add `buildx debug` command + * Revert "Introduce a client interface, to abstract from buildkit + client." + * Introduce a client interface, to abstract from buildkit client. + This will allow further enhancement like caching remote driver + responses. + * builder: set node worker ids + * inspect: do not display platforms field if empty + * compose: test with develop section + * localstate: tests + * build: handle local state group file removal + * build: support local state group + * build: opt to set build ref + * build: set target to local state + * build: move localstate logic + * commands: release the file lock before attempting to boot + during create + * vendor: update compose-go to v1.19.0 + * feat: support memory and cpu driver options for + docker-container + * progress: create new display object after unpause + * remote: remove explicit backoff config from client opts + * vendor: update buildkit to master@cbfd4023383d + * build: sublogger to show docker load progress output + * build(deps): bump docker/bake-action from 3 to 4 + * build(deps): bump docker/login-action from 2 to 3 + * build(deps): bump docker/metadata-action from 4 to 5 + * build(deps): bump docker/setup-buildx-action from 2 to 3 + * build(deps): bump docker/setup-qemu-action from 2 to 3 + * build: improve error messages for docker driver + * build: validate build args and labels + * bake: add annotations field + * build: add --annotation shortcut flag + * imagetools: make annotation parser more generic + * imagetools: simplify return type of annotation parser + * update to go1.20.8 + * docs: remove broken link + * migrate to github.com/distribution/reference v0.5.0 + * vendor: github.com/compose-spec/compose-go v1.18.3 + * enable trace delegation for docker/remote driver + * build(deps): bump actions/checkout from 3 to 4 + * vendor: github.com/theupdateframework/notary v0.7.0 + * chore: slice loop replace + * debug: fix short-form custom command name on `--invoke` isn't + used + * chore: reorder target fields + * test: fix non-deterministic compose context path + * tests: add imagetools tests for copying manifests and indexes + * git: fix error wrapping to ensure internal errors are + propogated + * git: propogate failure to locate git binary + * docker-container: avoid fail if container conflict + * vendor: bump k8s to v0.26.7 + * build: read body response to check for erroneous image export + to docker + * README: fix whitespace + * README: fix typo + * bake: test compose include + * adapt compose unit tests, build context is now transformed to + absolute paths by compose-go + * bump compose-go version to v1.17.0 to fix issue with depends_on + * build: error on attests on non-multiplatform driver + * tests: add unsupported features detection skeleton + * vendor: update buildkit to master@b49a8873179b + * tests: avoid hardcoded driver check in testImageIDOutput + * Integration test for docker buildx version + * tests: add testImagetoolsAnnotation integration test + * allow annotations for OCI image index + * README: clarify the Linux package install instructions + * update to go1.20.7 + * tests: add integration test for imagetools create + * remote controller: Fix entrypoint interaction bugs + * docs: fix platform example for create command + * progress: don't modify ResetTime inputs + * vendor: github.com/docker/cli v24.0.5 + * vendor: github.com/docker/docker v24.0.5 + * vendor: golang.org/x/net v0.10.0 + * vendor: golang.org/x/text v0.9.0 + * vendor: golang.org/x/term v0.8.0 + * vendor: golang.org/x/sys v0.8.0 + * vendor: github.com/sirupsen/logrus v1.9.3 + * chore: tidy splitToDriverPairs to avoid unneccessary int + * allow custom annotations and labels into kubernetes manifests + * remote: use buildkit's client.Wait method to bootstrap + * commands: NewRootCmd: remove obsolete logrus filter hook + * build: set remote bake def and remote dockerfile as internal + solve + * vendor: github.com/docker/cli v24.0.4 + * build: mark result handle build as internal + * vendor: github.com/moby/buildkit + v0.12.1-0.20230717122532-faa0cc7da353 + * vendor: github.com/tonistiigi/vt100 + v0.0.0-20230623042737-f9a4f7ef6531 + * vendor: github.com/tonistiigi/fsutil + v0.0.0-20230629203738-36ef4d8c0dbb + * vendor: github.com/xeipuuv/gojsonpointer + v0.0.0-20190905194746-02993c407bfb + * util/imagetools: remove unused Resolver.ImageConfig + * hack(generated-files): bump golang image to bookworm + * update go to 1.20.6 + * vendor: github.com/docker/docker@24.0 36e9e79 + * k8s: fix missing kubeconfig check from endpoint + * hack: force go version to 1.20.5 + * tests: add basic build progress test + * test: build details output + * build: missing newline when printing build details on error + * docs: update generated content + * vendor: update cli-docs-tool to 0.6.0 + * tests: add simple local bake test + * docs: debug: update the output of `help` command to the latest + message + * monitor: attach: fix typo in long help message + * controller: include CgroupParent in build.Options + * build: fix host-gateway handling + * utils/buildflags: ParseEntitlements(): use BuildKit's parsing + * update flag-description for --cgroup-parent + * bake: ignore profiles in compose definitions + * build: prefer local image resolution for docker driver + * build: add GO_EXTRA_FLAGS argument + * test: fix testImageIDOutput + * test: fix inspect and ls + * test: register docker worker with containerd snapshotter + * dockerfile: update docker to 24.0.2 + * tests: set a dedicated buildx config dir for each worker + * ci: run docker-container tests in parallel + * tests: share single docker between docker-container backends + * vendor: update buildkit to master@2d91ddcceedc + * chore: make docs + * docs: set experimental annotation + * Add Bearer token + * build(deps): Bump peter-evans/create-pull-request from 5.0.1 to + 5.0.2 + * builder: skip name validation for docker context + * bake: fix incorrect dockerfile resolution against cwd:// + context + * commands: consume DEBUG environment variable + * docs: update since buildinfo removal + +------------------------------------------------------------------- +Tue Jul 18 18:54:25 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.11.2: + * vendor: github.com/moby/buildkit + v0.12.1-0.20230717122532-faa0cc7da353 + * vendor: github.com/tonistiigi/fsutil + v0.0.0-20230629203738-36ef4d8c0dbb + * vendor: github.com/xeipuuv/gojsonpointer + v0.0.0-20190905194746-02993c407bfb + * tests: set a dedicated buildx config dir for each worker + * ci: run docker-container tests in parallel + * tests: share single docker between docker-container backends + * vendor: update buildkit to master@2d91ddcceedc + * k8s: fix missing kubeconfig check from endpoint + * build: mark result handle build as internal + * util/imagetools: remove unused Resolver.ImageConfig + * hack(generated-files): bump golang image to bookworm + * update go to 1.20.6 + * hack: force go version to 1.20.5 + * vendor: github.com/docker/docker@24.0 36e9e79 + +------------------------------------------------------------------- +Thu Jul 06 06:56:26 UTC 2023 - kastl@b1-systems.de + +- fix wrong version output by using the git tag as the commit hash +- Update to version 0.11.1: + * Revert "bake: fix incorrect dockerfile resolution against + cwd:// context" + * vendor: update tonistiigi/vt100 to master@f9a4f7ef6531 + * build: fix host-gateway handling + * docs: update generated content + * vendor: update cli-docs-tool to 0.6.0 + * test: build details output + * build: missing newline when printing build details on error + * dockerfile: update docker to 24.0.2 + * controller: include CgroupParent in build.Options + * bake: ignore profiles in compose definitions + * chore: make docs + * docs: set experimental annotation + * builder: skip name validation for docker context + * bake: fix incorrect dockerfile resolution against cwd:// + context + +------------------------------------------------------------------- +Wed Jun 14 14:09:08 UTC 2023 - Aleksa Sarai + +- Move /usr/lib/docker and /usr/lib/docker/cli-plugins to the main docker + package, where it belongs. +- Bump Go requirement to 1.20 to match upstream. + +------------------------------------------------------------------- +Tue Jun 13 16:50:51 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.11.0: + * dockerutil: cache feature collection + * check history api support once + * avoid extra client for history API detection + * vendor: github.com/docker/cli v24.0.2 + * vendor: github.com/docker/docker v24.0.2 + * bake(cli): allow passing in-stream using command.Cli + * debug-shell(cli): allow passing in-stream using command.Cli + * vendor: update buildkit to master@67a08623b95a + * build(cli): allow passing in-stream using command.Cli + * docs: monitor: mention about long form flag + * invoke: Allow JSON array for long form flags + * Fix a couple `--invoke` entrypoint interaction bugs + * Update docs with result from `make docs` command. + * build: display build details link + * build: fix quiet mode + * vendor: github.com/stretchr/testify v1.8.4 + * vendor: github.com/compose-spec/compose-go v1.14.0 + * bake: fix potential context entitlements escape + * tests: refactor cmd helpers to allow configuring cwd, etc + * tests: add bake test for remote subdir context + * tests: add bake test for remote cmd context override + * bake: fix BAKE_CMD_CONTEXT relative path resolution + * tests: add basic remote bake context test + * git: update gitutil test utilities + * test: tmpdir can be a test helper + * vendor: github.com/Masterminds/semver/v3 v3.2.1 + * build: clarify NewResultHandle comment + * inspect: display builder features + * docs: update CONTRIBUTING.md with specific test notes + * build: docker exporter should instead use oci with containerd + * build: clear exports for secondary solve request + * build: cleanup res if returned in basic build + * Fix typo in commands/build.go and + docs/reference/buildx_build.md + * build: rename ResultContext to ResultHandle + * build: move main solve request into main gateway call + * driver: update history api check + * driver: add context to Features interface + * driver: cache features + * driver: check history capability + * logutil: print error from WithError if found + * vendor: update buildkit to master@c36941f4a10e + * ci: make release and bin-image depend on test + * docs: update CONTRIBUTING.md to run tests + * make: test-unit and test-integration targets + * ci: cache integration tests base and build in dedicated step + * test: opt to avoid building the integration tests image + * test: use trap to remove cache volume + * test: type integration not needed + * ci: send test reports to codecov + * ci: merge test workflow to build one + * monitor: add long help for commands + * build: update outline fallback image + * build: tidy up print func + * build: fix writing correct image ID with -q + * remote: allow docker exporter on remote driver + * update xx to 1.2.1 + * driver(docker-container): fix incorrect path when writing certs + * build: fix missing "docker" driver name in build progress + * vendor: update buildkit to master@212ab16a39b1 + * go.mod: update k8s deps to v0.26.2 (remove "replace" rule) + * cmd/buildx: non-functional + k8s.io/client-go/plugin/pkg/client/auth/openstack + * vendor: github.com/docker/cli v24.0.1 + * vendor: github.com/docker/docker v24.0.1 + * Fix AWS Authentication when mixing static creds and IAM profile + * vendor: use docker/distribution instead of + distribution/distribution + * vendor: github.com/docker/cli v24.0.0 + * vendor: github.com/docker/docker v24.0.0 + * vendor: github.com/spf13/cobra v1.7.0 + * vendor: github.com/opencontainers/runc v1.1.7 + * vendor: github.com/klauspost/compress v1.16.3 + * vendor: github.com/moby/term v0.5.0 + * docs: add info for on-error and debug-shell values for invoke + * docs: fixup typo in buildkit console output + * bake: merge attest entries + * ci: add integration tests + * test: add basic integration tests + * vendor: update buildkit to master@31c870e82a48 + * Update bake-reference.md + * imagetools(create): set correct media type when combining + manifests + * vendor: github.com/docker/distribution v2.8.2 + * progress: make printer ready only after pausing logrus + * controller: move path resolution into controller package + * docs: add matrix docs for bake + * github: don't auto-add kind/bug labels + * docs: refactor bake file reference + * docs: add initial guide about debugging monitor mode + * debug: evaluate all refs to allow multi-platform debugging + * driver: update BuildKit version constraint for docker driver + * vendor: github.com/docker/docker v23.0.6 + * controller: avoid "context canceled" error on cleanup + * controller: default to using local controller + * bake: support compose additional contexts + * bake: support compose inline dockerfile + * kubernetes driver: add support for proxy-url + * bake: copy remote context contents to root + * bake: reorganize input creation together + * debug: secondary client build should not reuse solve opt ref + * monitor: improve error messages + * docker: fix connection leak on features check + * container-driver: avoid hanging on container panic + * Support for passing through raw buildkit policies + * monitor: extend monitor interface from controller + * build(deps): Bump peter-evans/create-pull-request from 5.0.0 to + 5.0.1 + * monitor: use shlex + * monitor: Move commands to a separated package + * docs: add serviceaccount driver-opt for k8s driver + * kubernetes driver: add serviceaccount opt + * controller: print result outside of controller + * controller: don't write metadata file in controller + * bump go.mod to 1.20 + * builder: extra init error handling + * ci: fix bin-image job + * build: null values support with bake + * build: fix JSON formatting for --print + * fix: changed attest type from Map to List + * chore: format with prettier + * build: added attest field + * build: sort bake fields alphabetically + * lint: add empty line between console and json code blocks + * build: fix links and formatting + * build: move bake under the build section + * build: customizing builds section + * build: add bake section + * debug: display build warnings after each build + * vendor: update to compose-go 1.13.4 + * bake: use default filenames from compose-go + * controller: replace logrus status messages with progress messages + * controller: refactor progress api + * build: refactor out common build command components + * controller: refactor status message conversion to pb package + * build: use gateway's solve context to allow cancelling + getResultAt + * build(deps): Bump docker/bake-action from 2 to 3 + * controller: only capture the result when invoked through a + controller + * monitor: update exec failure message when no args are passed + * build: avoid resolution of dockerfile if context is remote + * remove unused fields from ResultContext + * remove ResultContextError + * Fix monitor to be aware of Inspect API and invokations from + errors + * Add flags and subcommand + * Enable to restore build options from the server + * Enable to create container from error + * Allow passing ResultContext from server to the client through + grpcerror + * build: support for saving local state by build ref + * build: avoid file resolution of dockerfile urls + * bake: ensure remote files behind ssh expose agent + * bake: update ReadRemoteFiles to use buildkit api + * vendor: update buildkit to master@333ee9158128 + * cli: add completion to list builder names + * build: add completion to list context folders + * bake: add completion to list targets + * cli: set default completion + * driver: update BuildKit version constraint for docker driver + * build(deps): Bump peter-evans/create-pull-request from 4.2.4 to + 5.0.0 + * bake: fix map type checking to detect matrix property set to + list + * bake: add replace func to stdlib + * chore: sort bake stdlib map + * docs: prune links in README toc, add external reference + * ci: check repo origin on push tag event + * controller: Extract nested CommonOptions on controller API + * bake: forward default ssh agent for remote bake file + * bake: use build.IsRemoteURL + * build: use buildkit's gitutil package to detect remote files + * bake: additional validation for matrixes + * docs: update ls command output sample + * build(deps): Bump github.com/opencontainers/runc from 1.1.4 to + 1.1.5 + * driver: resolve BuildKit version for docker driver + * bake: add additional tests for matrix behavior + * vendor: update buildkit to master@8b7bcb900d3c + * build: replace removed buildkit BUILDINFO field + * build: fixup resolvePaths for remote context path + * chore: fix issue template + * remote: avoid tls error if both key and cert are not set + * bake: generate implicit groups for matrixes + * bake: add matrix to target block + * bake: allow overriding name property + * bake: allow interception to create derived contexts + * build(deps): Bump peter-evans/create-pull-request from 4.2.3 to + 4.2.4 + * bake: move SOURCE_DATE_EPOCH parsing to overrides + * k8s: corev1.Handler has been replaced by corev1.ProbeHandler + * vendor: bump k8s to v0.25.4 + * build: move SOURCE_DATE_EPOCH parsing into option generation + * k8s: generate node name if not provided + * version: add "v" prefix to version for tagging convention + consistency + * build: strip credentials from remote url on collecting Git + provenance info + * monitor: Enable to exec into the container + * monitor: resolve oci layout path in client + * monitor: resolve paths arguments in client + * docs: guides moved to docs website + * controller: use os.Executable() for getting the exceutable path + * ci: update docs-upstream workflow + * docs: do not generate ref for internal serve command + * build: makes git dirty check opt-in + * chore: github issue template + * controller: handle attestation options across api + * controller: move image id file writing to client + * controller: return solve response through api + * controller: strongly type the controller api + * build(deps): Bump golang.org/x/net from 0.5.0 to 0.7.0 + * Dockerfile: align frontend version + * fix lint issue + * fix cannot set environment variables in parallel tests + * remove deprecated golangci-lint linters + * update golangci-lint to v1.51.1 + * update to go 1.20 + * Add env var to disable default attestations + * docs: added --platform=local example + * build: print instance being used + * vendor: update buildkit + * Remove git warning: buildx/1633 + * monitor: fix typo in help message + * imagetools: process com.docker.reference.* annotations + * controller: set absolute path of server binary before execution + * inspect: display labels and gc policies + * builder: add worker gc policies and labels + * controller: use unique files per buildx version + * controller: use grpc with contexts for improved timeouts + * controller: exit cleanly on SIGTERM + * controller: add more informative server exit messages + * build: don't kill remote controller after build + * vendor: github.com/docker/cli v23.0.0 + * vendor: github.com/docker/docker v23.0.0 + * vendor: golang.org/x/oauth2 v0.1.0 + * vendor: golang.org/x/net v0.5.0 + * vendor: golang.org/x/term v0.4.0 + * vendor: golang.org/x/text v0.6.0 + * vendor: golang.org/x/sys v0.4.0 + * vendor: github.com/google/certificate-transparency-go v1.1.4 + * vendor: github.com/containerd/containerd v1.6.16 + * build: check reachable git commits + * gitutil: override the locale to ensure consistent output + * bake: avoid nesting error diagnostics + * bake: avoid early-exit for resolution failures + * ci: remove releases-json workflow + * github: update .github/releases.json + * build: add docs for boolean attestation flags + * builder: fix docker context not validated + * update github.com/compose-spec/compose-go to v1.9.0 + * lint: ban fmt.Errorf in preference of errors.Errorf + * lint: enable gosec + * bake: fix loop references + * hack: move syntax directive to top of generated-files + * controller: move controllers out of commands into separate + package + * ci: fix pr branch name in releases-json workflow + * ci: add workflow_dispatch in releases-json workflow + * ci: update buildx and buildkit to latest + * ci: fix docs-upstream workflow + * build: better message output for git provenance + * build: silently fail if git remote not found + * github: update .github/releases.json + * ci: generate releases.json on release event + * build: fix multi-node merge to read descriptor from result + * bake: SOURCE_DATE_EPOCH: fix `panic: assignment to entry in nil + map` + * build: fix preferred platform not taken account + * vendor: update buildkit to v0.11.2 + * go.mod: bump to Go 1.19 + * Enable to run build and invoke in background + * build: set remote origin url + * imagetools: silence intoto warnings + * rm: do not check for context builders when removing inactive + * ci: update buildkit release version in build pipeline + * docs: add note about minimum docker version + * build: mark capabilities request as internal + * vendor: github.com/moby/buildkit v0.11.1 + * ci: update buildx release version in build pipeline + * docs: add reference for new attest family of flags + * docs: fix broken link in buildx_bake CLI reference + * ci: fix typo in docs-release workflow + * build: error when using docker exporter and attestations + * build: avoid compatability error when attestations disabled + * docs: small tweak to opentelemetry + * inspect: lazily load attestation data + * inspect: move attestation loading to struct methods + * build: create error group per opt + * build: reorder error group funcs + * build: use copy for BuildWithResultHandler loop vars + * fix the directory of the buildx binary + * github: update CI to buildkit v0.11 + * docs: update with new inspect output + * inspect: change additional spdxs to not have duplicates + * inspect: provide access to multiple spdx documents + * inspect: parse sbom and provenance into json structs + * inspect: break after first matching attestation + * go.mod: update cli-docs-tool v0.5.1 and re-generate docs + * docs: update anchor links + * vendor: update buildkit to v0.11.0-rc4 + * imagetools inspect: handle provenance and sbom + * e2e: use native k3s installation script + * docs: update oci layout with tag resolution + * imagetools inspect: missing annotations key + * Propagate SOURCE_DATE_EPOCH from the client env + * build: refactor reference parsing for image layouts + +------------------------------------------------------------------- +Tue May 23 07:30:23 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.10.5: + * vendor: update buildkit to v0.11@348e79dfed17 + * docs: refactor bake file reference + +------------------------------------------------------------------- +Tue Mar 07 05:43:58 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.10.4: + * build: strip credentials from remote url on collecting Git + provenance info + * build: makes git dirty check opt-in + * docs: added --platform=local example + * Add env var to disable default attestations + +------------------------------------------------------------------- +Thu Feb 16 15:32:14 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.10.3: + * ci: update buildx and buildkit to latest + * Remove git warning: buildx/1633 + * imagetools: process com.docker.reference.* annotations + * bake: avoid nesting error diagnostics + * build: check reachable git commits + * gitutil: override the locale to ensure consistent output + * bake: avoid early-exit for resolution failures + * build: add docs for boolean attestation flags + * builder: fix docker context not validated + * bake: fix loop references + +------------------------------------------------------------------- +Tue Jan 31 14:59:07 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.10.2: + * build: better message output for git provenance + * build: silently fail if git remote not found + * build: fix multi-node merge to read descriptor from result + * bake: SOURCE_DATE_EPOCH: fix `panic: assignment to entry in nil map` + * build: fix preferred platform not taken account + +------------------------------------------------------------------- +Fri Jan 27 06:09:23 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.10.1: + * vendor: update buildkit to v0.11.2 + * build: set remote origin url + * build: create error group per opt + * build: reorder error group funcs + * build: use copy for BuildWithResultHandler loop vars + * imagetools: silence intoto warnings + * rm: do not check for context builders when removing inactive + * build: mark capabilities request as internal + * docs: fix broken link in buildx_bake CLI reference + * ci: fix typo in docs-release workflow + * fix the directory of the buildx binary + * inspect: lazily load attestation data + * inspect: move attestation loading to struct methods + * build: error when using docker exporter and attestations + * build: avoid compatability error when attestations disabled + * ci: update buildkit release version in build pipeline + * ci: update buildx release version in build pipeline + * vendor: github.com/moby/buildkit v0.11.1 + * docs: add reference for new attest family of flags + +------------------------------------------------------------------- +Tue Jan 10 06:00:43 UTC 2023 - kastl@b1-systems.de + +- Update to version 0.10.0: + * docs: update with new inspect output + * inspect: change additional spdxs to not have duplicates + * inspect: provide access to multiple spdx documents + * inspect: parse sbom and provenance into json structs + * inspect: break after first matching attestation + * github: update CI to buildkit v0.11 + * go.mod: update cli-docs-tool v0.5.1 and re-generate docs + * docs: update anchor links + * imagetools inspect: handle provenance and sbom + * imagetools inspect: missing annotations key + * vendor: update buildkit to v0.11.0-rc4 + * docs: update oci layout with tag resolution + * build: refactor reference parsing for image layouts + * e2e: use native k3s installation script + * Propagate SOURCE_DATE_EPOCH from the client env + * disable buildx experimental in pipeline + * readme: fix status badge + * build: check error from toSolveOpt before adding FrontendAttrs + * git: do not show warnings if project does not use git + * github: update buildkit image to v0.11-rc3 + * build: warn if git operation fails + * build: lookup the right git binary on WSL + * build: forward all build opts everywhere + * ci: generate provenance and sbom for bin image + * ci: generate provenance and sbom for release binaries + * buildflags: warn on duplicate attest field + * ci: update to ubuntu 22.04 + * ci: fix deprecated set-output syntax + * ci: do not publish docs on prerelease + * builder: check endpoint from store when loading factory + * build: fix env vars check for vcs details + * bake: support null label value + * bake: support null arg value + * bake: add tests for block interpolation + * bake: support block-based interpolation + * bake: add cty tags to hcl structures + * build: set provenance vcs details + * e2e: load to docker store + * vendor: update buildkit to 862b22d7 + * vendor: update buildkit to 93b40706a007 + * store: set nodegroup last activity + * store: use constants for directory names + * vendor: github.com/moby/buildkit v0.11.0-rc1.0.20221207183946-5993b526de65 + * build: don't set add-hosts option if empty + * bake: add attests field + * build: add attests flag and sbom/provenance shorthands + * build: add attestations to build options + * build: pass attestation attributes to build request + * chore: sort buildOptions alphabetically + * store: skip DockerContext field from being saved + * builder: fix default docker context behavior + * builder: enhance driver factory logic when loading drivers + * mutualize builder logic + * dockerutil pkg to manage docker api client and context + * kubernetes: fix context load test + * vendor: update buildkit to master@9624ab4 + * hcl: SrcRange not checked when solving JSON func calls + * build: skip "host-gateway" validation with moby driver + * docs: moved manual pages to docs repo, added link + * bake: fix panic for unsupported hcl variable type + * imagetools: set default repo ref on creation if nil + * go.mod: golang_protobuf_extensions v1.0.4 - prevent incompat versions + * hack: mutualize build opts in Makefile and Dockerfile + * hack: improve hash-files script + * build(deps): Bump peter-evans/create-pull-request from 4.2.2 to 4.2.3 + * ci: update softprops/action-gh-release to v0.1.15 + * build(deps): Bump peter-evans/create-pull-request from 4.2.0 to 4.2.2 + * docs: add tar flag to oci+docker exporters + * build: support tar flag for oci+docker exporters + * vendor: update buildkit to master@ae9d0f5 + * docs: clarify support for various sets of shared options + * Correction in Synopsis. + * kubernetes: move context config logic to its own pkg + * docs: add cache persistence notes for docker-container driver + * go.mod: golang.org/x/crypto v0.1.0 + * Address feedback + * Synchronise access to the map when printing. + * docs: use consistent "Type" header across parameter tables + * docs: add env parameter to docker-container driver + * Correct documentation on gha scopes + * use double spaces with json marshal indent + * go.mod: github.com/spf13/cobra v1.6.1 + * docs: refactored file and directory structure + * docs: update git ref to docs repo + * docs: change cache storage links to exporter to docs site + * ci(docs-upstream): switch to reusable workflow + * update github.com/compose-spec/compose-go to v1.6.0 + * docs: add exporter docs + * driver: don't create tracer delegate opt if tracer is nil + * progress: explicitly fail if tty requested but not available + * hack: lint scripts + * hack: use single output dir + * docker-container: move userns detection into driver + * chore: tidy up duplicate dockertypes import + * lint: add nolintlint and fix violations + * lint: remove structcheck + * build(deps): Bump peter-evans/create-pull-request from 4.1.4 to 4.2.0 + * docs: add user sign for console blocks + * build(deps): Bump peter-evans/create-pull-request from 4.1.3 to 4.1.4 + * docs: fix typo in cache docs + * go.mod: matttproud/golang_protobuf_extensions v1.0.2 (use tag) + * docs: fix cache command examples + * docs: replaced broken relative links + * changed from relative to absolute links + * moved context arg to last + * review comments, align style with driver docs + * address review comments + * fix incorrect heading text + * improve wording on default buildkit image + * updated prose and structure for driver docs + * bake: do not fail printing definition if instance unavailable + * Fix assignment to nil map + * Support empty env var when it can't be unset + * added tables for cache parameters + * build(deps): Bump peter-evans/create-pull-request from 4.1.2 to 4.1.3 + * remove unrelated comment after upgrade + * ci: don't trigger build and e2e workflows on docs-only pull requests + * docs: final cache storage fixups + * docs: additions from editorial review + * docs: add cache storage backend docs + * build(deps): Bump peter-evans/create-pull-request from 4.0.4 to 4.1.2 + * invoke: load defaults from image config + * docs: update links to new docs + * docs: update links in driver guide + * bake: recursively resolve groups + * kubernetes: rootless: support Google Container-Optimized OS + * Add git provenance labels + * return di.Err when it's not nil + * progress: add prefix to vertex progress group + * store: move regex to where it's used + * s3 cache client-side support + * vendor: bump compose-go to v1.5.0 + * docs: missing syntax directive + * docs: make sure all named context examples use 1.4 + * Dockerfile: update golangci-lint to 1.48.0 (go 1.19 support) + * Dockerfile: update to go 1.19 + * docker api: use helper to parse context docker endpoint metadata + +------------------------------------------------------------------- +Wed Sep 07 11:55:39 UTC 2022 - kastl@b1-systems.de + +- Update to version 0.9.1: + * buildx: prevent duplicate "failed to find driver" message + * docs: update buildx inspect reference with buildkit version + * inspect: add buildkit version information to command output + * bake: test compose file validation + * bake: test for unknown extensions + * bake(compose): fix unskipped services without build context + * docs: add experimental options to build command reference + * build: ensure consistent help messages for experimental cli help + +------------------------------------------------------------------- +Wed Sep 07 11:54:28 UTC 2022 - kastl@b1-systems.de + +- Update to version 0.9.0: + * vendor: update buildkit to 55ba9d14 + * create: improve interface when attempting to create docker driver + * commands: use buildx env for experimental opt-in + * build: update outline fallback image + * bake: load .env file from working dir for compose files + * test: misplaced expected value in assert + * enable other exporters if docker driver uses containerd + * add formatting support to print function + * build: add fallback to outline requests if not supported by frontend + * build: add experimental support for print flag + * detect moby worker supports multiplatform feature through containerd snapshotter + * build: fix issues with leaving invoke containers running + * docs: add correct definition of prune --all flag + * invoke: add messages + * prune: cleanup variable names for clarity + * buildx: warn on editing nodes + * bake: contexts support with x-bake + * vendor: v20.10.3-0.20220803220330-418ca3b4d46f (v22.06.0-dev) + * ci: enhanced build workflow + * docs: fix dead link to color output controls guide + * ci: upstream docs conformance validation + * prune: fix filter until option + * update github.com/compose-spec/compose-go to v1.4.0 + * buildx: forbid mismatched drivers + * kubernetes: error about unused endpoint argument + * add jedevc to maintainers + * ci: open pr on docs repo only on release + * kubernetes: enable azure auth + * update github.com/compose-spec/compose-go to v1.3.0 + * chore: fix readme + * bake(compose): allow dot in target name + * docs: add minimal docker driver docs + * check context builder endpoint + * imagetools: support cross-repo mounting + * imagetools: give imagetools create a progress bar + * imagetools: copy manifests between repositories + * imagetools: refactor combining repository logic + * docs: fix link to docs website + * docs: fix link + * docs: add further reading section for drivers + * docs: add basic docker-container driver guide + * docs: create dedicated drivers section + * docs(bake): set experimental note + * docs(bake): fix target fields and show type + * buildx: rollback configuration if create fails + * docs: update cli-docs-tool to v0.5.0 + * docs: remove frontmatter section + * docs(guide): color output controls + * docs: replace links with ones from docs.docker.com + * ci: release workflow to open a PR on docs repo with latest changes + * vendor: update docker/cli to f1615fa + * Update buildkit w/ customizable output colors, etc. + * Update xx to 1.1.2 + * docs(guides): fix links + * add support for oci-layout build-context + * bake: add timestamp function + * docs: add new kubernetes build driver docs + * fix: correct determnistic word + * buildx: log errors in initializing builders + * docs: fixup remote builder typos + * bake: add tests for missing attributes in userfuncs + * bake: forbid empty result and params in userfuncs + * kubernetes: add error when no pods available + * vendor: bump buildkit to master + * bake: dedup compose main and extension fields values + * bake: merge cache-from field from compose and x-bake + * bake: support compose build cache_to + * bake: fix compose consistency check + * chore: remove yamllint + * Add `--invoke` option to launch a container from the build result + * bake: better handling of compose extension interface + * bake: support compose build tags + * bake: support compose secrets env + * ci: add concurrency check + * docs: rework bake compose file definition + * update github.com/compose-spec/compose-go to v1.2.7 + * docs: rework bake "Configuring builds" page + * docs: bake specification intro + * docs: guide page to configure bake builds + * docs: changes to bake file definition guide + * docs: bake guides and refactor reference + * build: enhance warning message when no output specified + * build(deps): bump crazy-max/ghaction-github-runtime from 1.0.0 to 2 + * docs: add connhelpers info to remote-builder guide + * remote: add additional connhelpers to buildx + * vendor: update moby/buildkit + * ls: move builder/node status error msg below table + * imagetools: handle manifest with nil platform + * Update golint to revive + * cli: uppercase level to match logrus one + * rm: display name of removed builder + * rm: disallow removing context builders + * create: warn if instance name already exists as context builder + * docs: fix typo in docker-container remote driver instructions + * build: allow external Dockerfile on remote context + * ls: dedup instances from store and context + * Clarify inspect documentation + * create: load default buildkit config if none specified + * ci: pin external/untrusted github actions + * ci: bump official actions to latest major + * ci: remove godev workflow + * ci: bump docker actions to latest major + * build(deps): bump codecov/codecov-action from 2 to 3 + * Add remote driver guide + * docs: update ls output example + * vendor: vendor with -compat=1.17 + * ls: adds fallback if buildkit version info unimplemented + * remote: use --bootstrap to wait for remote to become active + * ls: display buildkit version of the nodes + * vendor: update buildkit to c78f696 + * chore: dependabot to keep gha up to date + * dockerfile: use gobase for test stage + * ci: enable cache + * ci: add check remote buildkitd step in e2e tests + * release: fix checksum file + * docs: fix guides for docs.docker.com + * Add remote driver documentation + * root: ignore SSH CloseRead warning + * Complete remote driver + * feat: env driver + * ci: enhance e2e workflow + * hclparser: strip out blocks for json files + * hack: update linters + * Dockerfile: update to go 1.18 + * cli: fix standalone command behavior + * Fix tolerations not parsing its options correctly, add tests + * bake: support compose build secrets + * update github.com/compose-spec/compose-go to v1.2.4 + * imagetools: respect --builder flag + * inspect: fix printing of driver options + * Only set default rootless image if it is not already customized + * Dockerfile: update to tonistiigi/xx:1.1.0 + * Dockerfile: update DOCKERD_VERSION to v20.10.14 + * kubernetes: replace deprecated seccomp annotations with securityContext + * bake: merge vars from multiple JSON files + * bake: merge targets from multiple JSON files + * Add support for defining kubernetes tolerations + * vendor: update buildkit to 3e38a2d + * compose: add test for port mapping + * update github.com/compose-spec/compose-go to v1.2.1 + * bake: fix skipped group when already visited by another one + * vendor: github.com/docker/distribution v2.8.1 + * feat: printing driver options + * vendor: update fsutil to 9ed61262 + * dockerfile: update frontend to 1.4 + * chore: use no-cache-filter for outdated stage + * imagetools inspect: use buildinfo helper + * golangci-lint: prevent io/ioutil from being used + * Remove uses of deprecated io/ioutil + +------------------------------------------------------------------- +Mon Apr 04 06:57:18 UTC 2022 - kastl@b1-systems.de + +- Update to version 0.8.2: + * vendor: update buildkit to 10e6f94b + * compose: add test for port mapping + * update github.com/compose-spec/compose-go to v1.2.1 + * bake: fix skipped group when already visited by another one + +------------------------------------------------------------------- +Mon Mar 21 08:20:47 UTC 2022 - kastl@b1-systems.de + +- Update to version 0.8.1: + * bake: allow dot in target names for compose + * vendor: update fsutil to 9ed61262 + +------------------------------------------------------------------- +Thu Mar 10 07:44:40 UTC 2022 - kastl@b1-systems.de + +- Update to version 0.8.0: + * vendor: update buildkit + * build: set remote digest when pushed with docker driver + * bake: restore consistent output for metadata + * imagetools inspect: missing manifest digest for manifest-list (json) + * imagetools inspect: deterministic platform order + * build: return imageID when loading without docker driver + * build: fix multi-node builds with mixed platforms + * build: remove target context if platform specific used + * progress: avoid double logs when multiple targets build same step + * vendor: update docker/cli to 8667ccd + * docs: small fixes + * vendor: update buildkit to 0692ad79 + * imagetools inspect: multi-platform support + * imagetools inspect: add --format flag + * docs: update cli-docs-tool to v0.4.0 + * bake: add path validation for remote bake invocations + * bake: make named contexts relative to remote bake input + * vendor: update buildkit to b124b0c3 + * bake: use better error in named contexts not supported + * Fix typo in readme + * build: fix deadlock on handling deps errors + * set build-args from docker proxy configuration + * build: send buildinfo dependencies + * docs: metadata-file usage + * docs: built-in build args + * docs: user guides + * docs: ssh usage example + * docs: lint + * vendor: update buildkit to 1e6032c + * build(deps): bump github.com/docker/distribution + * e2e: add bake build and display metadata json + * build: enhance metadata json output + * docs: built-in build args + * forbid setting no-cache and no-cache-filter together + * bake: add no-cache-filter + * build: add no-cache-filter + * docs: secret usage examples + * vendor: update buildkit to 2f99651 + * Separate io.Writer from console.File for NewPrinter + * cli: add --all-inactive and --force flags for rm command + * docs: add examples for bake named contexts + * bake: connect results between build targets + * util: add waitmap for target synchronization + * bake: add named contexts keys + * bake: restrict target name + * root: simple output format on logrus for parity with cli + * root: filter out useless commandConn.CloseWrite warning message + * bake: keep target inheritance + * Update install instructions + * bump github.com/zclconf/go-cty from 1.7.1 to 1.10.0 + * chore: invalidate cache for outdated run stage + * ci: build with stable buildkit image + * build: inline buildinfo attrs + * docs: add docs for -build-context + * commands: provide more helpful error when —build-context is not supported + * commands: rename context flag to build-context + * compose: resolve build args from service environment + * compose: test env_file + * update github.com/compose-spec/compose-go to v1.0.8 + * build: add support for named contexts + * root: filter out useless debug logs from vendored packages + * commands: build summary of warnings on build + * vendor: update buildkit to 539be170 + * docker-container: set UsernsMode only when needed + * bake: fix group resolution + * bake: fix groups print + * bake: ignore NetworkMode field for json and hcl + * Remove support for network override in bake + * imagetools resolver: fix deprecated client opt + * imagetools resolver: discard containerd logger output + * Remove NetworkMode support for HCL targets + * disk usage: last accessed not displayed + * add note about variable syntax in json + * bake: build definition file via stdin + * Add NetworkMode to bake target + * docs: fix git protocol + * bake: fix print output + * commands: clean up unnecessary code + * Add an option to buildx rm to keep the buildkitd daemon running + * cli: fix flags usage + * dockerfile: update xx to 1.0.0 + +------------------------------------------------------------------- +Fri Mar 4 20:00:24 UTC 2022 - Johannes Kastl + +- new package docker-buildx: Docker CLI plugin for extended build capabilities with BuildKit diff --git a/docker-buildx.obsinfo b/docker-buildx.obsinfo new file mode 100644 index 0000000..6b339c8 --- /dev/null +++ b/docker-buildx.obsinfo @@ -0,0 +1,4 @@ +name: docker-buildx +version: 0.17.1 +mtime: 1726239836 +commit: 257815a6fbaee88976808020bf04274388275ae8 diff --git a/docker-buildx.spec b/docker-buildx.spec new file mode 100644 index 0000000..8282556 --- /dev/null +++ b/docker-buildx.spec @@ -0,0 +1,67 @@ +# +# spec file for package docker-buildx +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true + +%define archive_name buildx +%define binary_name buildx + +Name: docker-buildx +Version: 0.17.1 +Release: 0 +Summary: Docker CLI plugin for extended build capabilities with BuildKit +License: Apache-2.0 +URL: https://github.com/docker/buildx +Source: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: docker +BuildRequires: go >= 1.20 +Requires: docker + +%description +buildx is a Docker CLI plugin for extended build capabilities with BuildKit. + +Key features: +- Familiar UI from docker build +- Full BuildKit capabilities with container driver +- Multiple builder instance support +- Multi-node builds for cross-platform images +- Compose build support +- High-level build constructs (bake) +- In-container driver support (both Docker and Kubernetes) + +%prep +%autosetup -p 1 -a 1 + +%build +go build \ + -mod=vendor \ + -buildmode=pie \ + -ldflags="-X github.com/docker/buildx/version.Version=%{version} -X github.com/docker/buildx/version.Revision=v%{version}" \ + -o bin/docker-buildx ./cmd/buildx + +%install +# Install the binary. +install -D -m 0755 bin/%{name} "%{buildroot}/usr/lib/docker/cli-plugins/%{name}" + +%files +%doc README.md +%license LICENSE +/usr/lib/docker/cli-plugins/%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..6eb5ebc --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c048612ad0647e635c7f513e19d1f7074f5cc0c9691ef07d0956b4d47200728 +size 10980930