Fix container build when cache is disabled (#26932)
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/build-container-image.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build-container-image.yml
									
									
									
									
										vendored
									
									
								
							@@ -95,5 +95,5 @@ jobs:
 | 
				
			|||||||
          push: ${{ inputs.push_to_images != '' }}
 | 
					          push: ${{ inputs.push_to_images != '' }}
 | 
				
			||||||
          tags: ${{ steps.meta.outputs.tags }}
 | 
					          tags: ${{ steps.meta.outputs.tags }}
 | 
				
			||||||
          labels: ${{ steps.meta.outputs.labels }}
 | 
					          labels: ${{ steps.meta.outputs.labels }}
 | 
				
			||||||
          cache-from: ${{ inputs.cache && 'type=gha' }}
 | 
					          cache-from: ${{ inputs.cache && 'type=gha' || '' }}
 | 
				
			||||||
          cache-to: ${{ inputs.cache && 'type=gha,mode=max' }}
 | 
					          cache-to: ${{ inputs.cache && 'type=gha,mode=max' || '' }}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user