mirror of https://github.com/docker/docs.git
				
				
				
			Merge pull request #22617 from crazy-max/bake-fix-syntax
bake: fix hcl syntax
This commit is contained in:
		
							parent
							
								
									d03288ea1d
								
							
						
					
					
						commit
						ee35407538
					
				|  | @ -62,7 +62,7 @@ target "default" { | |||
|   dockerfile="Dockerfile" | ||||
|   tags = [ | ||||
|     "my-image:latest", | ||||
|     notequal("",TAG) ? "my-image:${TAG}": "", | ||||
|     notequal("",TAG) ? "my-image:${TAG}": "" | ||||
|   ] | ||||
| } | ||||
| ``` | ||||
|  |  | |||
|  | @ -81,8 +81,8 @@ target "api" { | |||
| target "tests" { | ||||
|   dockerfile = "tests.Dockerfile" | ||||
|   contexts = { | ||||
|     webapp = "target:webapp", | ||||
|     api = "target:api", | ||||
|     webapp = "target:webapp" | ||||
|     api = "target:api" | ||||
|   } | ||||
|   output = ["type=local,dest=build/tests"] | ||||
|   context = "." | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue