ci: Don't run docker builds on foreign MRs
This commit is contained in:
parent
33cd0f05a7
commit
736625e235
|
@ -473,7 +473,8 @@ docker:
|
|||
--set *.cache-to=type=registry,ref=$DOCKER_CACHE_IMAGE:$CI_COMMIT_BRANCH,mode=max,oci-mediatypes=false
|
||||
--push
|
||||
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_PROJECT_NAME == "funkwhale"
|
||||
# We don't provide priviledged runners to everyone, so we can only build docker images in the funkwhale group
|
||||
variables:
|
||||
BUILD_ARGS: >
|
||||
--set *.platform=linux/amd64
|
||||
|
|
Loading…
Reference in New Issue