CrazyMax
aa05f4c207
Merge pull request #1584 from dvdksn/docs/build-platform-local
...
docs: added --platform=local example
2 years ago
CrazyMax
62fbef22d0
Merge pull request #1177 from crazy-max/build-display-builder
...
build: print instance being used
2 years ago
David Karlsson
2563685d27
docs: added --platform=local example
...
Signed-off-by: David Karlsson <david.karlsson@docker.com>
2 years ago
CrazyMax
598f1f0a62
build: print instance being used
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
8311b0963a
vendor: update buildkit
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
b1949b7388
Merge pull request #1634 from dgageot/fix-1633
...
build: fix git ambiguous argument
2 years ago
CrazyMax
3341bd1740
Merge pull request #1610 from thaJeztah/update_docker
...
vendor: github.com/docker/docker, github.com/docker/cli v23.0.0
2 years ago
Justin Chadwell
74f64f88a7
Merge pull request #1617 from jedevc/process-multiple-attestation-annotations
...
imagetools: process `com.docker.reference.*` annotations
2 years ago
David Gageot
d4a4aaf509
Remove git warning: buildx/1633
...
Signed-off-by: David Gageot <david.gageot@docker.com>
2 years ago
Justin Chadwell
1f73f4fd5d
Merge pull request #1630 from jedevc/debug-help-message-typo
...
monitor: fix typo in help message
2 years ago
Justin Chadwell
77f83d4171
monitor: fix typo in help message
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
642f28f439
imagetools: process com.docker.reference.* annotations
...
To give us the option later down the road of producing recommended OCI
names in BuildKit (using com instead of vnd, woops), we need to update
Buildx to be able to process both.
Ideally, if a Buildx/BuildKit release hadn't been made we could just
switch over, but since we have, we'd need to support both (at least for
a while, eventually we could consider deprecating+removing the vnd
variant).
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
04804ff355
Merge pull request #1557 from crazy-max/gomod-1.19
...
go.mod: bump to Go 1.19
2 years ago
Sebastiaan van Stijn
081447c9b1
vendor: github.com/docker/cli v23.0.0
...
full diff: https://github.com/docker/cli/compare/v23.0.0-rc.1...v23.0.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
260117289b
vendor: github.com/docker/docker v23.0.0
...
full diff: https://github.com/docker/docker/compare/v23.0.0-rc.1...v23.0.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
73dca749ca
vendor: golang.org/x/oauth2 v0.1.0
...
no changes in vendored code
full diff: https://github.com/golang/oauth2/compare/6fdb5e3db783...v0.1.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
8ac380bfb3
vendor: golang.org/x/net v0.5.0
...
full diff: https://github.com/golang/net/compare/v0.4.0...v0.5.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
aeac7e08f9
vendor: golang.org/x/term v0.4.0
...
no changes in vendored code
full diff: https://github.com/golang/term/compare/v0.3.0...v0.4.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
7c9cdc4353
vendor: golang.org/x/text v0.6.0
...
no changes in vendored code
full diff: https://github.com/golang/text/compare/v0.5.0...v0.6.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
67572785cf
vendor: golang.org/x/sys v0.4.0
...
full diff: https://github.com/golang/sys/compare/v0.3.0...v0.4.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
8a70e7634d
vendor: github.com/google/certificate-transparency-go v1.1.4
...
full diff:
- https://github.com/google/certificate-transparency-go/compare/v1.0.21...v1.1.4
- https://github.com/kubernetes/klog/compare/v2.30.0...v2.80.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
Sebastiaan van Stijn
6dd5589a9c
vendor: github.com/containerd/containerd v1.6.16
...
full diff: https://github.com/containerd/containerd/compare/1709cfe273d9...v1.6.16
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2 years ago
CrazyMax
78058ce5f3
Merge pull request #1592 from crazy-max/fix-build-git
...
build: check reachable git commits
2 years ago
CrazyMax
fd5884189c
build: check reachable git commits
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
ab7a9f008d
Merge pull request #1607 from jedevc/bake-fix-error-traces
...
bake: avoid nesting error diagnostics
2 years ago
CrazyMax
a8eb2a7fbe
gitutil: override the locale to ensure consistent output
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
fbb4f4dec8
bake: avoid nesting error diagnostics
...
With changes to the lazy evaluation, the evaluation order is no longer
fixed - this means that we can follow long and confusing paths to get to
an error.
Because of the co-recursive nature of the lazy evaluation, we need to
take special care that the original HCL diagnostics are not discarded
and are preserved so that the original source of the error can be
detected. Preserving the full trace is not necessary, and probably not
useful to the user - all of the file that is not lazily loaded will be
eagerly loaded after all struct blocks are loaded - so the error would
be found regardless.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
46fd0a61ba
Merge pull request #1605 from jedevc/bake-fix-errors
...
bake: avoid early-exit for resolution failures
2 years ago
Justin Chadwell
6444c813dc
Merge pull request #1601 from jedevc/buildx-document-attestation-booleans
...
build: add docs for boolean attestation flags
2 years ago
Justin Chadwell
dc8a2b0398
bake: avoid early-exit for resolution failures
...
With changes made to allow lazy evaluation, we were early exiting if an
undefined name was detected, either for a variable or a function.
This had two key implications:
1. The error messages changed, and became significantly less
informative.
For example, we went from:
> Unknown variable; There is no variable named "FO". Did you mean "FOO"?, and 1 other diagnostic(s)
To
> Invalid expression; undefined variable "FO"
2. Any issues in our function detection from funcCalls which cause JSON
functions to be erroneously detected cause invalid functions to be
resolved, which causes new name resolution errors.
To avoid the above problems, we can defer the error from an undefined
name until HCL evaluation - which produces the more informative errors,
and does not suffer from incorrectly detecting JSON functions.
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
d9780e27cd
Merge pull request #1602 from crazy-max/rm-releases-json
...
ci: remove releases-json workflow
2 years ago
CrazyMax
ab44d03771
ci: remove releases-json workflow
...
This is now directly handled by our actions-toolkit. We keep
`.github/releases.json` file for now but will be removed on
next v0.11 release.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
crazy-max
b53cb256e5
github: update .github/releases.json
...
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
c3075923f4
Merge pull request #1591 from crazy-max/update-compose
...
update github.com/compose-spec/compose-go to v1.9.0
2 years ago
CrazyMax
a32881313b
Merge pull request #1596 from crazy-max/builder-fix-validation
...
builder: fix docker context not validated
2 years ago
Justin Chadwell
07548bc898
build: add docs for boolean attestation flags
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
CrazyMax
0e544fe835
builder: fix docker context not validated
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
21ac4c34fb
update github.com/compose-spec/compose-go to v1.9.0
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
Justin Chadwell
d2fa4a5724
Merge pull request #1582 from jedevc/lint-fixups
...
Linting tidy-ups
2 years ago
Justin Chadwell
4bdf98cf20
lint: ban fmt.Errorf in preference of errors.Errorf
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
5da09f0c23
lint: enable gosec
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
48357ee0c6
bake: fix loop references
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
6506166f02
Merge pull request #1579 from jedevc/refactor-controllers
...
Refactor controllers, moving them into a separate package
2 years ago
Justin Chadwell
5f130b25ad
hack: move syntax directive to top of generated-files
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
a9fd128910
controller: move controllers out of commands into separate package
...
Signed-off-by: Justin Chadwell <me@jedevc.com>
2 years ago
Justin Chadwell
cb94298a02
Merge pull request #1296 from ktock/monitor-list
...
monitor: Enable to run build and invoke in background
2 years ago
CrazyMax
046084c0b8
Merge pull request #1574 from crazy-max/ci-fix-workflow
...
ci: fix pr branch name in releases-json workflow
2 years ago
CrazyMax
18760253b9
ci: fix pr branch name in releases-json workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago
CrazyMax
ded6376ece
Merge pull request #1573 from crazy-max/fix-releases-json
...
ci: add workflow_dispatch in releases-json workflow
2 years ago
CrazyMax
a4d60a451d
ci: add workflow_dispatch in releases-json workflow
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2 years ago