mirror of
https://github.com/ajnart/homarr.git
synced 2025-10-26 08:06:12 +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:
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
- '.github/pull_request_template.md'
|
||||
- 'CONDE_OF_CUNDUCT.md'
|
||||
- 'CODE_OF_CONDUCT.md'
|
||||
- 'CONTRIBUTING.md'
|
||||
- 'LICENSE'
|
||||
- 'README.md'
|
||||
|
||||
7
.github/workflows/docker_dev.yml
vendored
7
.github/workflows/docker_dev.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
paths-ignore:
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
- '.github/pull_request_template.md'
|
||||
- 'CONDE_OF_CUNDUCT.md'
|
||||
- 'CODE_OF_CONDUCT.md'
|
||||
- 'CONTRIBUTING.md'
|
||||
- 'LICENSE'
|
||||
- 'README.md'
|
||||
@@ -17,7 +17,7 @@ on:
|
||||
paths-ignore:
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
- '.github/pull_request_template.md'
|
||||
- 'CONDE_OF_CUNDUCT.md'
|
||||
- 'CODE_OF_CONDUCT.md'
|
||||
- 'CONTRIBUTING.md'
|
||||
- 'LICENSE'
|
||||
- 'README.md'
|
||||
@@ -114,6 +114,7 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to GHCR
|
||||
if: github.event_name != 'pull_request' || github.base_ref == github.head_ref
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@@ -125,6 +126,6 @@ jobs:
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
context: .
|
||||
push: true
|
||||
push: ${{ github.event_name != 'pull_request' || github.base_ref == github.head_ref }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
Reference in New Issue
Block a user