mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-10-31 02:27:11 -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 |     if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |       - 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: |         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}} |           password: ${{secrets.GITHUB_TOKEN}} | ||||||
|           registry: docker.pkg.github.com |       - name: Build and push | ||||||
|           repository: AnonymusRaccoon/Kyoo/kyoo |         id: docker_build | ||||||
|           tag_with_sha: true |         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