mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Docker --cache-from only uses first image
See also https://stackoverflow.com/a/56024061/8924614
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/release-dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release-dev.yml
									
									
									
									
										vendored
									
									
								
							| @@ -204,8 +204,6 @@ jobs: | ||||
|           echo "::set-env name=DOCKERFILE::${dockerfile}" | ||||
|       - name: Pull for cache | ||||
|         run: | | ||||
|           docker pull "${BUILD_TO}:latest" || true | ||||
|           docker pull "${BUILD_TO}:beta" || true | ||||
|           docker pull "${BUILD_TO}:dev" || true | ||||
|       - name: Register QEMU binfmt | ||||
|         run: docker run --rm --privileged multiarch/qemu-user-static:5.0.0-2 --reset -p yes | ||||
| @@ -215,8 +213,6 @@ jobs: | ||||
|             --build-arg "BUILD_VERSION=${TAG}" \ | ||||
|             --tag "${BUILD_TO}:${TAG}" \ | ||||
|             --tag "${BUILD_TO}:dev" \ | ||||
|             --cache-from "${BUILD_TO}:latest" \ | ||||
|             --cache-from "${BUILD_TO}:beta" \ | ||||
|             --cache-from "${BUILD_TO}:dev" \ | ||||
|             --file "${DOCKERFILE}" \ | ||||
|             . | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -225,8 +225,6 @@ jobs: | ||||
|       - name: Pull for cache | ||||
|         run: | | ||||
|           docker pull "${BUILD_TO}:latest" || true | ||||
|           docker pull "${BUILD_TO}:beta" || true | ||||
|           docker pull "${BUILD_TO}:dev" || true | ||||
|       - name: Register QEMU binfmt | ||||
|         run: docker run --rm --privileged multiarch/qemu-user-static:5.0.0-2 --reset -p yes | ||||
|       - run: | | ||||
| @@ -235,8 +233,6 @@ jobs: | ||||
|             --build-arg "BUILD_VERSION=${TAG}" \ | ||||
|             --tag "${BUILD_TO}:${TAG}" \ | ||||
|             --cache-from "${BUILD_TO}:latest" \ | ||||
|             --cache-from "${BUILD_TO}:beta" \ | ||||
|             --cache-from "${BUILD_TO}:dev" \ | ||||
|             --file "${DOCKERFILE}" \ | ||||
|             . | ||||
|       - name: Log in to docker hub | ||||
|   | ||||
		Reference in New Issue
	
	Block a user