mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 18:22:54 +02:00
CI: allow image rebuilding job only in pipelines belonging to default branch
This commit is contained in:
parent
d49b8782d7
commit
c381575e95
@ -50,7 +50,11 @@ update-build-env: # This job updates building environment image. Run it if FPC
|
|||||||
--build-arg FPC_MAIN_VER=$FPC_MAIN_VER
|
--build-arg FPC_MAIN_VER=$FPC_MAIN_VER
|
||||||
-t $IMAGE_TAG - < Dockerfile.buildenv
|
-t $IMAGE_TAG - < Dockerfile.buildenv
|
||||||
- docker push $IMAGE_TAG
|
- docker push $IMAGE_TAG
|
||||||
when: manual
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
when: manual
|
||||||
|
allow_failure: true
|
||||||
|
- when: never
|
||||||
|
|
||||||
update-qt5pas-bindings: # build and cache Qt5 Pascal bindings
|
update-qt5pas-bindings: # build and cache Qt5 Pascal bindings
|
||||||
stage: prepcaches
|
stage: prepcaches
|
||||||
|
Loading…
Reference in New Issue
Block a user