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

add condition line 27

parent 033737d5
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ image:
tags:
- docker7
only:
- if: $CI_COMMIT_BRANCH == "main"
- if: $CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE == "deploy"
script:
- singularity build container.sif $RECIPE_PATH/Singularity.$BASENAME-$TAG
- 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