change action and corresponding documentation
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build docker container / build (push) Successful in 2m5s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build docker container / build (push) Successful in 2m5s
				
			This commit is contained in:
		@@ -29,11 +29,17 @@ jobs:
 | 
				
			|||||||
          registry: git.claeyscloud.com
 | 
					          registry: git.claeyscloud.com
 | 
				
			||||||
          username: nologin
 | 
					          username: nologin
 | 
				
			||||||
          password: ${{ secrets.PACKAGE_TOKEN }}
 | 
					          password: ${{ secrets.PACKAGE_TOKEN }}
 | 
				
			||||||
 | 
					      - name: Login to DockerHub container registry
 | 
				
			||||||
 | 
					        uses: https://github.com/docker/login-action@v3
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          username: ${{ secrets.DOCKER_HUB_USERNAME}}
 | 
				
			||||||
 | 
					          password: ${{ secrets.DOCKER_HUB_PASSWORD }}
 | 
				
			||||||
      - name: Extract metadata (tags, labels) for Docker
 | 
					      - name: Extract metadata (tags, labels) for Docker
 | 
				
			||||||
        id: meta
 | 
					        id: meta
 | 
				
			||||||
        uses: docker/metadata-action@v5
 | 
					        uses: docker/metadata-action@v5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
            images: |
 | 
					            images: |
 | 
				
			||||||
 | 
					                davidquinonescl/pluto-tv-scraper
 | 
				
			||||||
                git.claeyscloud.com/david/pluto-tv-scraper
 | 
					                git.claeyscloud.com/david/pluto-tv-scraper
 | 
				
			||||||
            tags: |
 | 
					            tags: |
 | 
				
			||||||
               type=semver,pattern={{raw}}
 | 
					               type=semver,pattern={{raw}}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										36
									
								
								.github/workflows/action.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								.github/workflows/action.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,36 @@
 | 
				
			|||||||
 | 
					name: 'Build docker container'
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    tags:
 | 
				
			||||||
 | 
					      - '*'
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    defaults:
 | 
				
			||||||
 | 
					      run:
 | 
				
			||||||
 | 
					          working-directory: '${{ github.workspace }}'
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Checkout
 | 
				
			||||||
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
 | 
					      - name: Set up Docker Buildx
 | 
				
			||||||
 | 
					        uses: docker/setup-buildx-action@v3
 | 
				
			||||||
 | 
					      - name: Docker login
 | 
				
			||||||
 | 
					        uses: docker/login-action@v3
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          registry: ghcr.io
 | 
				
			||||||
 | 
					          username: ${{ github.actor }}
 | 
				
			||||||
 | 
					          password: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
 | 
					      - name: Extract metadata (tags, labels) for Docker
 | 
				
			||||||
 | 
					        id: meta
 | 
				
			||||||
 | 
					        uses: docker/metadata-action@v5
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          images: ghcr.io/davidclaeysquinones/pluto-tv-scraper
 | 
				
			||||||
 | 
					          tags: |
 | 
				
			||||||
 | 
					             type=semver,pattern={{raw}}
 | 
				
			||||||
 | 
					      - name: Build and push
 | 
				
			||||||
 | 
					        uses: docker/build-push-action@v5
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          context: .
 | 
				
			||||||
 | 
					          push: true
 | 
				
			||||||
 | 
					          tags: ${{ steps.meta.outputs.tags }}            
 | 
				
			||||||
 | 
					          labels: ${{ steps.meta.outputs.labels }}
 | 
				
			||||||
@@ -49,6 +49,8 @@ version: '3.3'
 | 
				
			|||||||
services:
 | 
					services:
 | 
				
			||||||
  epg:
 | 
					  epg:
 | 
				
			||||||
    image: git.claeyscloud.com/david/pluto-tv-scraper:latest
 | 
					    image: git.claeyscloud.com/david/pluto-tv-scraper:latest
 | 
				
			||||||
 | 
					    #image: ghcr.io/davidclaeysquinones/pluto-tv-scraper:latest
 | 
				
			||||||
 | 
					    #image: davidquinonescl/pluto-tv-scraper:latest
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      # add a mapping in order to add a custom config file
 | 
					      # add a mapping in order to add a custom config file
 | 
				
			||||||
      #- /docker/pluto:/config
 | 
					      #- /docker/pluto:/config
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user