detect container runtime 3
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build Docker Image / build (pull_request) Failing after 31s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build Docker Image / build (pull_request) Failing after 31s
				
			This commit is contained in:
		
							
								
								
									
										14
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@@ -35,16 +35,8 @@ jobs:
 | 
			
		||||
          
 | 
			
		||||
      - name: Build container image
 | 
			
		||||
        run: |
 | 
			
		||||
          if [ "$CONTAINER_CMD" = "podman" ]; then
 | 
			
		||||
            podman build -t dailytrends:latest .
 | 
			
		||||
          else
 | 
			
		||||
            docker build -t dailytrends:latest .
 | 
			
		||||
          fi
 | 
			
		||||
          
 | 
			
		||||
          podman build -t dailytrends:latest .
 | 
			
		||||
 | 
			
		||||
      - name: Test container image
 | 
			
		||||
        run: |
 | 
			
		||||
          if [ "$CONTAINER_CMD" = "podman" ]; then
 | 
			
		||||
            podman run --rm dailytrends:latest node --version
 | 
			
		||||
          else
 | 
			
		||||
            docker run --rm dailytrends:latest node --version
 | 
			
		||||
          fi
 | 
			
		||||
          podman run --rm dailytrends:latest node --version
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user