mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-11-03 18:49:20 +00:00 
			
		
		
		
	ci: publish the alpine image to ghcr.io too
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/dockerhub.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/dockerhub.yml
									
									
									
									
										vendored
									
									
								
							@@ -119,6 +119,7 @@ jobs:
 | 
			
		||||
        uses: docker/metadata-action@v3
 | 
			
		||||
        with:
 | 
			
		||||
          images: |
 | 
			
		||||
            ghcr.io/nginx-proxy/nginx-proxy
 | 
			
		||||
            nginxproxy/nginx-proxy
 | 
			
		||||
            jwilder/nginx-proxy
 | 
			
		||||
          tags: |
 | 
			
		||||
@@ -142,6 +143,13 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          username: ${{ secrets.DOCKERHUB_USERNAME }}
 | 
			
		||||
          password: ${{ secrets.DOCKERHUB_TOKEN }}
 | 
			
		||||
      
 | 
			
		||||
      - name: Log in to GitHub Container Registry
 | 
			
		||||
        uses: docker/login-action@v1
 | 
			
		||||
        with:
 | 
			
		||||
          registry: ghcr.io
 | 
			
		||||
          username: ${{ github.actor }}
 | 
			
		||||
          password: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
 | 
			
		||||
      - name: Build and push the Alpine based image
 | 
			
		||||
        if: github.ref == 'refs/heads/main'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user