David Gageot 
							
						 
					 
					
						
						
							
						
						45863c4f16 
					 
					
						
						
							
							Remove git warning: buildx/1633  
						
						... 
						
						
						
						Signed-off-by: David Gageot <david.gageot@docker.com >
(cherry picked from commit d4a4aaf509 
						
						
					 
					
						2023-02-16 14:07:28 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						a73d07ff7a 
					 
					
						
						
							
							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 >
(cherry picked from commit 642f28f439 
						
						
					 
					
						2023-02-16 13:21:41 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						661af29d46 
					 
					
						
						
							
							build: check reachable git commits  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
(cherry picked from commit fd5884189c 
						
						
					 
					
						2023-02-08 14:34:23 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						02cf539a08 
					 
					
						
						
							
							gitutil: override the locale to ensure consistent output  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
(cherry picked from commit a8eb2a7fbe 
						
						
					 
					
						2023-02-08 14:34:14 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						389ac0c3d1 
					 
					
						
						
							
							build: set remote origin url  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
(cherry picked from commit c1058c17aa 
						
						
					 
					
						2023-01-26 13:36:58 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						8c14407fa2 
					 
					
						
						
							
							imagetools: silence intoto warnings  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit 7145e021f9 
						
						
					 
					
						2023-01-26 13:36:57 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						78d8b926db 
					 
					
						
						
							
							inspect: lazily load attestation data  
						
						... 
						
						
						
						Delay loading the attestation data immediately, and only compute it upon
request. We do this using a deferred function which allows to define the
computation in the same place as before, but perform the computation
later.
With this patch, we ensure that the attestation data is only pulled from
the remote if it is actually referenced in the format string -
otherwise, we can skip it, for improved performance.
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2023-01-24 12:10:57 +00:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						19291d900e 
					 
					
						
						
							
							inspect: move attestation loading to struct methods  
						
						... 
						
						
						
						This refactor ensures that the attestations are not output in the JSON
output for "{{ json . }}", and additionally allows future refactors to
dynamically load the attestation contents, ensuring faster performance
when attestations are not used in the output.
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2023-01-24 12:10:57 +00:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						9fb3ff1a27 
					 
					
						
						
							
							inspect: change additional spdxs to not have duplicates  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit 484823c97d 
						
						
					 
					
						2023-01-09 15:53:37 -08:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						9d4f38c5fa 
					 
					
						
						
							
							inspect: provide access to multiple spdx documents  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit 3ce17b01dc 
						
						
					 
					
						2023-01-09 15:53:34 -08:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						793082f543 
					 
					
						
						
							
							inspect: parse sbom and provenance into json structs  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit e68c566c1c 
						
						
					 
					
						2023-01-09 15:53:29 -08:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						fe6f697205 
					 
					
						
						
							
							inspect: break after first matching attestation  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit 19d16aa941 
						
						
					 
					
						2023-01-09 15:53:13 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						8a7a221a7f 
					 
					
						
						
							
							imagetools inspect: handle provenance and sbom  
						
						... 
						
						
						
						use stub structs for SLSA/SBOM while waiting for
go-imageinspect library to be public.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2023-01-06 16:33:47 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						e4db8d2a21 
					 
					
						
						
							
							imagetools inspect: missing annotations key  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2023-01-06 16:33:47 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						64e4c19971 
					 
					
						
						
							
							Merge pull request  #1477  from crazy-max/git-wsl  
						
						... 
						
						
						
						build: lookup the right git binary on WSL 
						
						
					 
					
						2022-12-15 18:00:52 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						0d1fea8134 
					 
					
						
						
							
							build: warn if git operation fails  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-12-15 23:40:19 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						19417e76e7 
					 
					
						
						
							
							build: lookup the right git binary on WSL  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-12-15 21:16:37 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						f992b77535 
					 
					
						
						
							
							buildflags: warn on duplicate attest field  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-12-15 15:39:19 +00:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						6ad5e2fcf3 
					 
					
						
						
							
							build: set provenance vcs details  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-12-14 00:09:38 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						b270a20274 
					 
					
						
						
							
							build: add attests flag and sbom/provenance shorthands  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-12-07 18:44:11 +00:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						63073b65c0 
					 
					
						
						
							
							dockerutil pkg to manage docker api client and context  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-12-06 12:13:41 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						2245371696 
					 
					
						
						
							
							Merge pull request  #1420  from jedevc/oci-tar  
						
						... 
						
						
						
						Support new `tar` option for oci+docker exporters 
						
						
					 
					
						2022-11-29 11:48:10 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						ae59e1f72e 
					 
					
						
						
							
							Merge pull request  #1305  from jedevc/progress-group-prefixed-writer  
						
						... 
						
						
						
						progress: add prefix to vertex progress group 
						
						
					 
					
						2022-11-28 13:32:27 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						e6b09580b4 
					 
					
						
						
							
							build: support tar flag for oci+docker exporters  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-11-23 11:35:38 +00:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						aa1f4389b1 
					 
					
						
						
							
							Merge pull request  #1396  from crazy-max/fix-indent  
						
						... 
						
						
						
						use double spaces with json marshal indent 
						
						
					 
					
						2022-11-16 14:54:13 -08:00 
						 
				 
			
				
					
						
							
							
								Felix de Souza 
							
						 
					 
					
						
						
							
						
						b68114375f 
					 
					
						
						
							
							Address feedback  
						
						... 
						
						
						
						Signed-off-by: Felix de Souza <fdesouza@palantir.com > 
						
						
					 
					
						2022-11-14 18:40:05 +00:00 
						 
				 
			
				
					
						
							
							
								Felix de Souza 
							
						 
					 
					
						
						
							
						
						83a09b3cf2 
					 
					
						
						
							
							Synchronise access to the map when printing.  
						
						... 
						
						
						
						Signed-off-by: Felix de Souza <fdesouza@palantir.com > 
						
						
					 
					
						2022-11-14 15:47:32 +00:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						abebf4d955 
					 
					
						
						
							
							use double spaces with json marshal indent  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-11-07 16:36:24 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						a50e89c38e 
					 
					
						
						
							
							progress: explicitly fail if tty requested but not available  
						
						... 
						
						
						
						The NewPrinter function is mostly borrowed from buildkit. However, at
some point, it seems that the implementations drifted.
This patch updates buildx to be more similar in behavior to it's
buildkit counterpart, specifically, it will explicitly fail if a TTY
output is requested using "--progress=tty", but the output is not
available.
To gracefully fallback to plain progress in this scenario,
"--progress=plain" is required.
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-10-25 10:55:36 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						0566e62995 
					 
					
						
						
							
							progress: add prefix to vertex progress group  
						
						... 
						
						
						
						As buildkit now uses progress groups for the COPY --link instruction
we need to ensure that we additionally prefix the progress group name,
or the target name will be left off in bake commands with more than one
target.
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-09-02 16:45:51 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						57d22a7bd1 
					 
					
						
						
							
							s3 cache client-side support  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-08-30 17:00:15 +02:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						2a13491919 
					 
					
						
						
							
							Dockerfile: update golangci-lint to 1.48.0 (go 1.19 support)  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-08-11 02:10:33 +02:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						f1a9f91323 
					 
					
						
						
							
							imagetools: support cross-repo mounting  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-07-29 14:29:29 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						4ecca34a42 
					 
					
						
						
							
							imagetools: give imagetools create a progress bar  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-07-29 14:29:27 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						37ca8631f9 
					 
					
						
						
							
							imagetools: copy manifests between repositories  
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-07-29 14:29:05 +01:00 
						 
				 
			
				
					
						
							
							
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						d3412f1039 
					 
					
						
						
							
							imagetools: refactor combining repository logic  
						
						... 
						
						
						
						This patch modifies the existing combining code in imagetools create to
provide better support for multiple repositories down the road.
Specifically, the code should no longer rely on a single repository
being used for all sources and tags, and should resolve descriptors in
their relevant repositories.
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-07-29 14:21:27 +01:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						e4137b2eea 
					 
					
						
						
							
							imagetools: handle manifest with nil platform  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2022-05-23 21:16:00 -07:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						8257a04a7d 
					 
					
						
						
							
							create: load default buildkit config if none specified  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-05-13 11:54:16 +02:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						3adca1c17d 
					 
					
						
						
							
							Merge pull request  #995  from thaJeztah/replace_ioutil  
						
						... 
						
						
						
						Remove uses of deprecated io/ioutil 
						
						
					 
					
						2022-03-14 19:13:07 -07:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						38311a35f2 
					 
					
						
						
							
							imagetools inspect: use buildinfo helper  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-03-10 01:52:51 +01:00 
						 
				 
			
				
					
						
							
							
								Sebastiaan van Stijn 
							
						 
					 
					
						
						
							
						
						fc7ba75fd7 
					 
					
						
						
							
							Remove uses of deprecated io/ioutil  
						
						... 
						
						
						
						The package has been deprecated since Go 1.16: https://go.dev/doc/go1.16#ioutil 
Signed-off-by: Sebastiaan van Stijn <github@gone.nl > 
						
						
					 
					
						2022-03-10 01:46:06 +01:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						9fcea76dea 
					 
					
						
						
							
							Merge pull request  #977  from tonistiigi/logs-dupes  
						
						... 
						
						
						
						progress: avoid double logs when multiple targets build same step 
						
						
					 
					
						2022-03-04 16:30:53 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						215a128fc1 
					 
					
						
						
							
							imagetools inspect: missing manifest digest for manifest-list (json)  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-03-04 20:36:14 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						4e4eea7814 
					 
					
						
						
							
							imagetools inspect: deterministic platform order  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-03-04 20:36:14 +01:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						b77d7864fa 
					 
					
						
						
							
							progress: avoid double logs when multiple targets build same step  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2022-02-28 23:32:54 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						20a55e9184 
					 
					
						
						
							
							imagetools inspect: multi-platform support  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-02-25 20:30:08 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						6c56109083 
					 
					
						
						
							
							imagetools inspect: add --format flag  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-02-25 17:55:34 +01:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						60a025b227 
					 
					
						
						
							
							Merge pull request  #928  from tonistiigi/bake-named-contexts  
						
						... 
						
						
						
						bake: add named contexts keys 
						
						
					 
					
						2022-02-07 10:52:01 -08:00 
						 
				 
			
				
					
						
							
							
								Edgar Lee 
							
						 
					 
					
						
						
							
						
						2d7540fb0a 
					 
					
						
						
							
							Separate io.Writer from console.File for NewPrinter  
						
						... 
						
						
						
						Signed-off-by: Edgar Lee <edgarl@netflix.com > 
						
						
					 
					
						2022-02-06 09:11:47 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						ffa062dc95 
					 
					
						
						
							
							util: add waitmap for target synchronization  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2022-01-27 18:46:12 -08:00