mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-10-30 18:22:41 -04:00 
			
		
		
		
	Upgrading the docker CI
This commit is contained in:
		
							parent
							
								
									4d0cc0afc2
								
							
						
					
					
						commit
						2dda9befec
					
				
							
								
								
									
										31
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										31
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							| @ -8,13 +8,28 @@ jobs: | ||||
|     if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       - name: Checkout submodules | ||||
|         run: git submodule update --init --recursive | ||||
|       - name: Push to GitHub Packages | ||||
|         uses: docker/build-push-action@v1 | ||||
|         with: | ||||
|           username: ${{github.actor}} | ||||
|           submodules: recursive | ||||
|       - name: Docker meta | ||||
|         id: meta | ||||
|         uses: crazy-max/ghaction-docker-meta@v2 | ||||
|         with: | ||||
|           images: ghcr.io/${{github.repository_owner}}/Kyoo | ||||
|           tags: type=sha,prefix= | ||||
|       - name: Set up QEMU | ||||
|         uses: docker/setup-qemu-action@v1 | ||||
|       - name: Set up Docker Buildx | ||||
|         uses: docker/setup-buildx-action@v1 | ||||
|       - name: Login to DockerHub | ||||
|         uses: docker/login-action@v1  | ||||
|         with: | ||||
|           registry: ghcr.io | ||||
|           username: ${{github.repository_owner}} | ||||
|           password: ${{secrets.GITHUB_TOKEN}} | ||||
|           registry: docker.pkg.github.com | ||||
|           repository: AnonymusRaccoon/Kyoo/kyoo | ||||
|           tag_with_sha: true | ||||
|       - name: Build and push | ||||
|         id: docker_build | ||||
|         uses: docker/build-push-action@v2 | ||||
|         with: | ||||
|           context: . | ||||
|           push: ${{github.ref == 'refs/heads/master'}} | ||||
|           tags: ${{steps.meta.outputs.tags}} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user