From 32e7bd3d521b7afce6ca1d9d470baaff029fda00 Mon Sep 17 00:00:00 2001 From: Patrick Lewis Date: Thu, 7 Oct 2021 04:07:53 -0700 Subject: [PATCH] fix(CI/Docker): don't build images in forks (#8225) --- .github/workflows/docker_build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 432d30b5a..f04eeb231 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -56,6 +56,7 @@ jobs: # before cache # needed to avoid ccache injected into these images - name: Build Dev + if: github.repository == 'azerothcore/azerothcore-wotlk' env: #DOCKER_IMAGE_TAG: ${{ steps.extract_branch.outputs.branch }} DOCKER_EXTENDS_BIND: abstract-no-bind @@ -83,6 +84,7 @@ jobs: ccache:${{ matrix.os }}:clang:without-modules - name: Build Production images + if: github.repository == 'azerothcore/azerothcore-wotlk' env: #DOCKER_IMAGE_TAG: ${{ steps.extract_branch.outputs.branch }} DOCKER_EXTENDS_BIND: abstract-no-bind