fix(CI/Docker): don't build images in forks (#8225)

This commit is contained in:
Patrick Lewis
2021-10-07 04:07:53 -07:00
committed by GitHub
parent 29c94e5455
commit 32e7bd3d52

View File

@@ -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