Skip to content
Snippets Groups Projects
Commit 86d23329 authored by Nicolas Descostes's avatar Nicolas Descostes
Browse files

add CI_MERGE_REQUEST_APPROVED

parent 6f327ae5
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ image:
tags:
- docker7
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
- if: $CI_MERGE_REQUEST_APPROVED
script:
- singularity push --docker-username gitlab-ci-token --docker-password $CI_JOB_TOKEN container.sif oras://"$CI_REGISTRY_IMAGE"/$BASENAME:$TAG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment