mirror of
				https://github.com/ajnart/homarr.git
				synced 2025-10-31 10:36:02 +01:00 
			
		
		
		
	💚 CI won't push to docker on PRs from forks
If not from fork it still will. Since that's how it was set by ajnart.
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docker.yml
									
									
									
									
										vendored
									
									
								
							| @@ -7,7 +7,7 @@ on: | |||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - '.github/ISSUE_TEMPLATE/**' |       - '.github/ISSUE_TEMPLATE/**' | ||||||
|       - '.github/pull_request_template.md' |       - '.github/pull_request_template.md' | ||||||
|       - 'CONDE_OF_CUNDUCT.md' |       - 'CODE_OF_CONDUCT.md' | ||||||
|       - 'CONTRIBUTING.md' |       - 'CONTRIBUTING.md' | ||||||
|       - 'LICENSE' |       - 'LICENSE' | ||||||
|       - 'README.md' |       - 'README.md' | ||||||
|   | |||||||
							
								
								
									
										7
									
								
								.github/workflows/docker_dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/docker_dev.yml
									
									
									
									
										vendored
									
									
								
							| @@ -9,7 +9,7 @@ on: | |||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - '.github/ISSUE_TEMPLATE/**' |       - '.github/ISSUE_TEMPLATE/**' | ||||||
|       - '.github/pull_request_template.md' |       - '.github/pull_request_template.md' | ||||||
|       - 'CONDE_OF_CUNDUCT.md' |       - 'CODE_OF_CONDUCT.md' | ||||||
|       - 'CONTRIBUTING.md' |       - 'CONTRIBUTING.md' | ||||||
|       - 'LICENSE' |       - 'LICENSE' | ||||||
|       - 'README.md' |       - 'README.md' | ||||||
| @@ -17,7 +17,7 @@ on: | |||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - '.github/ISSUE_TEMPLATE/**' |       - '.github/ISSUE_TEMPLATE/**' | ||||||
|       - '.github/pull_request_template.md' |       - '.github/pull_request_template.md' | ||||||
|       - 'CONDE_OF_CUNDUCT.md' |       - 'CODE_OF_CONDUCT.md' | ||||||
|       - 'CONTRIBUTING.md' |       - 'CONTRIBUTING.md' | ||||||
|       - 'LICENSE' |       - 'LICENSE' | ||||||
|       - 'README.md' |       - 'README.md' | ||||||
| @@ -114,6 +114,7 @@ jobs: | |||||||
|       - name: Set up Docker Buildx |       - name: Set up Docker Buildx | ||||||
|         uses: docker/setup-buildx-action@v2 |         uses: docker/setup-buildx-action@v2 | ||||||
|       - name: Login to GHCR |       - name: Login to GHCR | ||||||
|  |         if: github.event_name != 'pull_request' || github.base_ref == github.head_ref | ||||||
|         uses: docker/login-action@v2 |         uses: docker/login-action@v2 | ||||||
|         with: |         with: | ||||||
|           registry: ghcr.io |           registry: ghcr.io | ||||||
| @@ -125,6 +126,6 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           platforms: linux/amd64,linux/arm64,linux/arm/v7 |           platforms: linux/amd64,linux/arm64,linux/arm/v7 | ||||||
|           context: . |           context: . | ||||||
|           push: true |           push: ${{ github.event_name != 'pull_request' || github.base_ref == github.head_ref }} | ||||||
|           tags: ${{ steps.meta.outputs.tags }} |           tags: ${{ steps.meta.outputs.tags }} | ||||||
|           labels: ${{ steps.meta.outputs.labels }} |           labels: ${{ steps.meta.outputs.labels }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user