Tibor Vass 
							
						 
					 
					
						
						
							
						
						381dc8fb43 
					 
					
						
						
							
							driver: do not insert "platform" as driver-opt  
						
						... 
						
						
						
						Addresses https://github.com/docker/setup-buildx-action/issues/45 
Simple repro:
```
$ buildx create --platform linux/amd64 --use
$ buildx build - <<EOF
from scratch
EOF
```
Since https://github.com/docker/buildx/pull/370  a `platform` driver-opt was automatically inserted with the value specified by `--platform` flag on regardless of the type of driver, even though it was only used in the kubernetes driver. However, because the docker-container driver is pedantic about the options being passed, it errored out.
Another side-effect I suspect is that with the kubernetes driver it was now possible to specify the platforms in two different ways: `--driver-opt platform=...` and `--platform`.
This patch reverts completely the `platform` driver-opt and instead ensures the platforms information is passed onto the kubernetes driver via variables.
Signed-off-by: Tibor Vass <tibor@docker.com > 
						
						
							
						
					 
					
						2020-12-15 07:09:46 +00:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						780fad46f2 
					 
					
						
						
							
							Merge pull request  #471  from crazy-max/remove-travis  
						
						... 
						
						
						
						Remove travis support and unused buildmode 
						
						
							
 
						
					 
					
						2020-12-09 20:40:15 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						2ca5ffa06a 
					 
					
						
						
							
							Remove travis support and unused buildmode  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
							
						
					 
					
						2020-12-09 07:51:32 +01:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						f349ba8750 
					 
					
						
						
							
							update Dockerfile to v1.2  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-08 15:44:08 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						33e3ca524e 
					 
					
						
						
							
							Merge pull request  #442  from tonistiigi/moby-push  
						
						... 
						
						
						
						build: add push support to docker driver 
						
						
							
 
						
					 
					
						2020-12-08 15:01:37 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						ea1a71dc07 
					 
					
						
						
							
							Merge pull request  #467  from cpuguy83/deterministic_output  
						
						... 
						
						
						
						Get multi-platform buildkit frontend opt from args 
						
						
							
						
					 
					
						2020-12-08 15:00:57 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						ae820293a2 
					 
					
						
						
							
							Merge pull request  #468  from crazy-max/ghactions-release  
						
						... 
						
						
						
						GitHub Actions release 
						
						
							
						
					 
					
						2020-12-08 13:57:38 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						f68f42cb11 
					 
					
						
						
							
							build: add push support to docker driver  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-08 13:54:41 -08:00 
						 
				 
			
				
					
						
							
							
								Brian Goff 
							
						 
					 
					
						
						
							
						
						7f58ad45fa 
					 
					
						
						
							
							Get multi-platform buildkit frontend opt from args  
						
						... 
						
						
						
						This allows builders to opt into determnistic output regardless of
multi-platform output or not.
Signed-off-by: Brian Goff <cpuguy83@gmail.com > 
						
						
							
						
					 
					
						2020-12-08 13:18:56 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						aa7c17989b 
					 
					
						
						
							
							Merge pull request  #469  from tonistiigi/buildkit-update-1207  
						
						... 
						
						
						
						vendor: update buildkit to v0.8 
						
						
							
						
					 
					
						2020-12-08 13:10:07 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						6b6afc4077 
					 
					
						
						
							
							build: add logger for auth  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 23:43:28 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						69a1419ab1 
					 
					
						
						
							
							vendor: update buildkit to v0.8  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 23:16:06 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						080e9981c7 
					 
					
						
						
							
							Merge pull request  #398  from tonistiigi/remote-bake  
						
						... 
						
						
						
						bake: remote inputs support 
						
						
							
						
					 
					
						2020-12-07 23:07:24 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						8cc00ab486 
					 
					
						
						
							
							GitHub Actions release  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
							
						
					 
					
						2020-12-08 07:20:41 +01:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						40fad4bbb5 
					 
					
						
						
							
							progress: make sure all channels have written before returning  
						
						... 
						
						
						
						Possible write on closed channel on cancellation before.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 22:02:51 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						232af9aa0d 
					 
					
						
						
							
							move moby check to driver interface  
						
						... 
						
						
						
						Driver caching masked the method detection
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 22:02:51 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						5bf2ff98c9 
					 
					
						
						
							
							bake: support filenames without suffix  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 22:02:51 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						570e733a51 
					 
					
						
						
							
							bake: support inline dockerfile  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 22:02:51 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						cffcd57edb 
					 
					
						
						
							
							bake: support for remote files  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 22:02:51 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						1496ac9b55 
					 
					
						
						
							
							util: simplify progress syncronization  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 22:02:51 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						290e25917c 
					 
					
						
						
							
							build: allow dockerfile from URL  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 22:02:51 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						0360668cc1 
					 
					
						
						
							
							Merge pull request  #428  from zanven42/master  
						
						... 
						
						
						
						fixes  #427 : Handle empty strings in elements enabling conditional logic 
					
						2020-12-07 21:59:43 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						343a4753c7 
					 
					
						
						
							
							Merge pull request  #460  from morlay/master  
						
						... 
						
						
						
						fix: buildx in k8s pod with kube client config in cluster 
						
						
							
						
					 
					
						2020-12-07 21:59:23 -08:00 
						 
				 
			
				
					
						
							
							
								Wang 
							
						 
					 
					
						
						
							
						
						d827f42d38 
					 
					
						
						
							
							fix: buildx in k8s pod with kube client config in cluster  
						
						... 
						
						
						
						Signed-off-by: Wang <morlay.null@gmail.com > 
						
						
							
						
					 
					
						2020-12-08 13:17:23 +08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						5843e67a90 
					 
					
						
						
							
							fix indentations in example  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-12-07 21:02:48 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						517df133e3 
					 
					
						
						
							
							Merge pull request  #403  from jygastaud/master  
						
						... 
						
						
						
						fixes  #401  : Replace error generated by `quiet` option by a warning. 
					
						2020-12-07 20:57:09 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						621114fbe1 
					 
					
						
						
							
							Merge pull request  #465  from crazy-max/update-vendor  
						
						... 
						
						
						
						Update vendor and binaries script 
						
						
							
						
					 
					
						2020-12-07 20:55:32 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						2066051d3a 
					 
					
						
						
							
							Merge pull request  #466  from crazy-max/ghactions-cross  
						
						... 
						
						
						
						GitHub Actions cross 
						
						
							
						
					 
					
						2020-12-07 20:53:09 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						d94cbd870c 
					 
					
						
						
							
							GitHub Actions cross  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
							
						
					 
					
						2020-12-07 17:29:35 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						48f15dcf3d 
					 
					
						
						
							
							Update vendor and binaries script  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
							
						
					 
					
						2020-12-07 17:14:45 +01:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						35a60b8e04 
					 
					
						
						
							
							Merge pull request  #441  from tonistiigi/buildkit-pull-creds2  
						
						... 
						
						
						
						refactor driver auth for easier passing 
						
						
							
						
					 
					
						2020-12-05 00:02:38 -08:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						4b3df09155 
					 
					
						
						
							
							Merge pull request  #463  from crazy-max/ghactions-test  
						
						... 
						
						
						
						GitHub Actions for test 
						
						
							
						
					 
					
						2020-12-05 08:13:41 +01:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						b1215c2ce2 
					 
					
						
						
							
							GitHub Actions for test  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
							
						
					 
					
						2020-12-05 04:18:28 +01:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						99ac03f9f3 
					 
					
						
						
							
							Merge pull request  #451  from docker/ghactions-validate  
						
						... 
						
						
						
						Refactor validate for GitHub Actions 
						
						
							
						
					 
					
						2020-12-04 15:19:37 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						a0aa45a4a7 
					 
					
						
						
							
							Merge pull request  #462  from zencargo/userns  
						
						... 
						
						
						
						Disable user namespace remapping in docker-container driver 
						
						
							
						
					 
					
						2020-12-03 20:03:32 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						aab3a92890 
					 
					
						
						
							
							Merge pull request  #444  from tonistiigi/lowercase-dockerfile  
						
						... 
						
						
						
						build: handle lowercase Dockerfile name as a fallback 
						
						
							
						
					 
					
						2020-12-03 17:54:47 -08:00 
						 
				 
			
				
					
						
							
							
								Andrew Haines 
							
						 
					 
					
						
						
							
						
						37020dc8da 
					 
					
						
						
							
							Disable user namespace remapping in docker-container driver  
						
						... 
						
						
						
						Signed-off-by: Andrew Haines <andrew.haines@zencargo.com > 
						
						
							
						
					 
					
						2020-12-03 10:50:00 +00:00 
						 
				 
			
				
					
						
							
							
								CrazyMax 
							
						 
					 
					
						
						
							
						
						d66d3a2d09 
					 
					
						
						
							
							Refactor validate for GitHub Actions  
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
							
						
					 
					
						2020-11-30 08:14:28 +01:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						f057195a4f 
					 
					
						
						
							
							build: handle lowercase Dockerfile name as a fallback  
						
						... 
						
						
						
						This was supported by the legacy builder: moby#10858
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-11-18 22:11:35 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						378bf70d4b 
					 
					
						
						
							
							refactor driver auth for easier passing  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-11-15 20:49:58 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						1ccf0bd7d8 
					 
					
						
						
							
							Merge pull request  #433  from tonistiigi/buildkit-pull-creds  
						
						... 
						
						
						
						docker-container: ensure credentials are passed when pulling buildkit 
						
						
							
						
					 
					
						2020-11-15 20:13:27 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						ddbfddce88 
					 
					
						
						
							
							Merge pull request  #425  from tonistiigi/default-builder  
						
						... 
						
						
						
						allow builder flag to switch to default instance 
						
						
							
						
					 
					
						2020-11-12 11:07:37 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						ea19cf9d8d 
					 
					
						
						
							
							inspect: make sure to show boot error from driver  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-11-04 14:39:54 -08:00 
						 
				 
			
				
					
						
							
							
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						3b69482a2f 
					 
					
						
						
							
							docker-container: ensure credentials are passed when pulling buildkit image  
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
							
						
					 
					
						2020-11-04 13:04:04 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						778fbb4669 
					 
					
						
						
							
							Merge pull request  #390  from tonistiigi/fix-warn  
						
						... 
						
						
						
						build: avoid warn on empty config value 
						
						
							
						
					 
					
						2020-11-02 19:36:20 -08:00 
						 
				 
			
				
					
						
							
							
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						13533e359a 
					 
					
						
						
							
							Merge pull request  #432  from thaJeztah/bump_console_v1.0.1  
						
						... 
						
						
						
						vendor: containerd/console v1.0.1, and remove golang.org/x/sys replace 
						
						
							
						
					 
					
						2020-11-02 19:35:34 -08:00 
						 
				 
			
				
					
						
							
							
								Sebastiaan van Stijn 
							
						 
					 
					
						
						
							
						
						3c2d0aa667 
					 
					
						
						
							
							vendor: containerd/console v1.0.1, and remove golang.org/x/sys replace  
						
						... 
						
						
						
						this removes the replace rule that was added in 3c94621142https://github.com/containerd/console/compare/v1.0.0...v1.0.1 
Signed-off-by: Sebastiaan van Stijn <github@gone.nl > 
						
						
							
						
					 
					
						2020-10-31 14:18:57 +01:00 
						 
				 
			
				
					
						
							
							
								Sebastiaan van Stijn 
							
						 
					 
					
						
						
							
						
						5551de4b8a 
					 
					
						
						
							
							go.mod: reformat file  
						
						... 
						
						
						
						Signed-off-by: Sebastiaan van Stijn <github@gone.nl > 
						
						
							
						
					 
					
						2020-10-31 13:50:45 +01:00 
						 
				 
			
				
					
						
							
							
								Sebastiaan van Stijn 
							
						 
					 
					
						
						
							
						
						fa51b90094 
					 
					
						
						
							
							vendor: fix docker/docker vendoring (update to 9f28837c1d93  
						
						... 
						
						
						
						commit c41b006be14634ce647c...9f28837c1dgithub@gone.nl > 
						
						
							
						
					 
					
						2020-10-31 13:50:34 +01:00 
						 
				 
			
				
					
						
							
							
								Anthony Poschen 
							
						 
					 
					
						
						
							
						
						bfd1ea3877 
					 
					
						
						
							
							Added doco for conditonal tags in bake file.  
						
						... 
						
						
						
						Signed-off-by: Anthony Poschen <zanven42@gmail.com > 
						
						
							
						
					 
					
						2020-10-26 16:37:28 +11:00