diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index cd9a3fc7c56..2378e8ffed3 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -34,6 +34,6 @@ jobs: with: context: . file: ./misc/server/Dockerfile - push: true + push: ${{ ! github.event.pull_request.head.repo.fork }} # Only push image if we have the required permissions, i.e. not running from a fork tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}