fix(CI/Docker): don't build images in forks (#8225)
This commit is contained in:
@@ -56,6 +56,7 @@ jobs:
|
|||||||
# before cache
|
# before cache
|
||||||
# needed to avoid ccache injected into these images
|
# needed to avoid ccache injected into these images
|
||||||
- name: Build Dev
|
- name: Build Dev
|
||||||
|
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||||
env:
|
env:
|
||||||
#DOCKER_IMAGE_TAG: ${{ steps.extract_branch.outputs.branch }}
|
#DOCKER_IMAGE_TAG: ${{ steps.extract_branch.outputs.branch }}
|
||||||
DOCKER_EXTENDS_BIND: abstract-no-bind
|
DOCKER_EXTENDS_BIND: abstract-no-bind
|
||||||
@@ -83,6 +84,7 @@ jobs:
|
|||||||
ccache:${{ matrix.os }}:clang:without-modules
|
ccache:${{ matrix.os }}:clang:without-modules
|
||||||
|
|
||||||
- name: Build Production images
|
- name: Build Production images
|
||||||
|
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||||
env:
|
env:
|
||||||
#DOCKER_IMAGE_TAG: ${{ steps.extract_branch.outputs.branch }}
|
#DOCKER_IMAGE_TAG: ${{ steps.extract_branch.outputs.branch }}
|
||||||
DOCKER_EXTENDS_BIND: abstract-no-bind
|
DOCKER_EXTENDS_BIND: abstract-no-bind
|
||||||
|
|||||||
Reference in New Issue
Block a user