mirror of
				https://github.com/k4yt3x/video2x.git
				synced 2025-10-30 20:31:11 +01:00 
			
		
		
		
	added container build workflow
This commit is contained in:
		
							parent
							
								
									672c9b8652
								
							
						
					
					
						commit
						b5ecffba81
					
				
							
								
								
									
										25
									
								
								.github/workflows/container.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/container.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,25 @@ | ||||
| name: Container | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|     tags: | ||||
|       - "*" | ||||
| jobs: | ||||
|   docker: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v2 | ||||
|       - name: Get current tag | ||||
|         id: get_current_tag | ||||
|         run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | ||||
|       - uses: mr-smithers-excellent/docker-build-push@v5 | ||||
|         name: Build & push Docker image | ||||
|         with: | ||||
|           registry: ghcr.io | ||||
|           username: ${{ secrets.GHCR_USER }} | ||||
|           password: ${{ secrets.GHCR_TOKEN }} | ||||
|           dockerfile: Dockerfile | ||||
|           image: k4yt3x/video2x | ||||
|           tags: latest, ${{ steps.get_current_tag.outputs.tag }} | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user