mirror of
				https://github.com/tigerblue77/Dell_iDRAC_fan_controller_Docker.git
				synced 2025-11-03 21:43:19 +00:00 
			
		
		
		
	Update docker-image.yml
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/docker-image.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/docker-image.yml
									
									
									
									
										vendored
									
									
								
							@@ -3,8 +3,6 @@ name: Docker Image CI
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [ master ]
 | 
			
		||||
  pull_request:
 | 
			
		||||
    branches: [ master ]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  docker:
 | 
			
		||||
@@ -20,10 +18,9 @@ jobs:
 | 
			
		||||
      id: meta
 | 
			
		||||
      uses: docker/metadata-action@v3
 | 
			
		||||
      with:
 | 
			
		||||
        images: tigerblue77/dell_idrac_fan_controller
 | 
			
		||||
        images: tigerblue77/dell_idrac_fan_controller:latest
 | 
			
		||||
        
 | 
			
		||||
    - name: Login to DockerHub
 | 
			
		||||
      if: github.event_name != 'pull_request'
 | 
			
		||||
      uses: docker/login-action@v1
 | 
			
		||||
      with:
 | 
			
		||||
        username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
			
		||||
@@ -33,6 +30,6 @@ jobs:
 | 
			
		||||
      uses: docker/build-push-action@v2
 | 
			
		||||
      with:
 | 
			
		||||
        context: .
 | 
			
		||||
        push: ${{ github.event_name != 'pull_request' }}
 | 
			
		||||
        push: true
 | 
			
		||||
        tags: ${{ steps.meta.outputs.tags }}
 | 
			
		||||
        labels: ${{ steps.meta.outputs.labels }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user