mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-01-22 18:47:32 +00:00
Make pipeline manual on MRs
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
e2be0e2ff0
commit
280f40508e
@ -22,6 +22,11 @@ build-dev-image:
|
|||||||
- make .build-image
|
- make .build-image
|
||||||
- docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
|
- docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
|
||||||
- make .push-build-image
|
- make .push-build-image
|
||||||
|
rules:
|
||||||
|
- !reference [.main-or-manual, rules]
|
||||||
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
|
when: manual
|
||||||
|
- when: always
|
||||||
|
|
||||||
.requires-build-image:
|
.requires-build-image:
|
||||||
image: "${BUILDIMAGE}"
|
image: "${BUILDIMAGE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user