Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GeT-nextflow-NGL-Bi
template-nf
Commits
38ffe0e6
Commit
38ffe0e6
authored
Feb 05, 2021
by
Celine Noirot
Browse files
Run CI only when files Singularity change
parent
73ec933a
Pipeline
#25936
passed with stages
in 5 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
38ffe0e6
...
...
@@ -15,8 +15,19 @@ singularity-image:
artifacts
:
paths
:
-
template.sif
only
:
changes
:
-
.gitlab-ci.yml
-
Singularityfile
-
emvironement.yml
# Push the image template.sif on the registry
deploy
:
stage
:
deploy
script
:
-
singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" template.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME":"$CI_COMMIT_TAG"
only
:
changes
:
-
.gitlab-ci.yml
-
Singularityfile
-
emvironement.yml
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment