Update build-push.yml
Remove private registry in favor of GHCR
This commit is contained in:
		
							parent
							
								
									d0c77c71bb
								
							
						
					
					
						commit
						d8c8573f75
					
				
							
								
								
									
										8
									
								
								.github/workflows/build-push.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/build-push.yml
									
									
									
									
										vendored
									
									
								
							| @ -24,13 +24,6 @@ jobs: | ||||
|         id: buildx | ||||
|         uses: docker/setup-buildx-action@v2 | ||||
| 
 | ||||
|       - name: Login to private registry | ||||
|         uses: docker/login-action@v2 | ||||
|         with: | ||||
|           registry: ${{ secrets.REGISTRY_URL }} | ||||
|           username: ${{ secrets.REGISTRY_USERNAME }} | ||||
|           password: ${{ secrets.REGISTRY_PASSWORD }} | ||||
| 
 | ||||
|       - name: Login to GitHub's container registry | ||||
|         if: github.event_name != 'pull_request' | ||||
|         uses: docker/login-action@v2 | ||||
| @ -46,7 +39,6 @@ jobs: | ||||
|           # list of Docker images to use as base name for tags | ||||
|           images: | | ||||
|             ghcr.io/spoticord/spoticord | ||||
|             ${{ secrets.REGISTRY_URL }}/spoticord/spoticord | ||||
|           # Docker tags based on the following events/attributes | ||||
|           tags: | | ||||
|             type=raw,value=latest,enable={{is_default_branch}} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel
						Daniel