mirror of
				https://github.com/songquanpeng/one-api.git
				synced 2025-11-04 15:53:42 +08:00 
			
		
		
		
	fix: update Docker image workflow to conditionally include arm64 platform
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/docker-image.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docker-image.yml
									
									
									
									
										vendored
									
									
								
							@@ -63,7 +63,7 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          context: .
 | 
			
		||||
          #          platforms: linux/amd64,linux/arm64
 | 
			
		||||
          platforms: linux/amd64 # TODO disable arm64 for now, because it cause error
 | 
			
		||||
          platforms: ${{ contains(github.ref, 'alpha') && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
 | 
			
		||||
          push: true
 | 
			
		||||
          tags: ${{ steps.meta.outputs.tags }}
 | 
			
		||||
          labels: ${{ steps.meta.outputs.labels }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user