Commit ad4d538c authored by Celine Noirot's avatar Celine Noirot
Browse files

Update .gitlab-ci.yml

parent 09a648ad
Pipeline #26384 failed
# recipe for building singularity image and deploy it on the registery for bwa version 0.7.17
image:
name: quay.io/singularity/singularity:v3.4.0
entrypoint: [""]
# recipe for building singularity image and deploy it on the registery for template
image: nextflow/nextflow
stages:
- build
- deploy
- push
push:
script:
- nextflow run ./main.nf
- nextflow run ./main.nf --help
# Build Singularity container bwa_v0.7.17.sif
singularity-image:
image: quay.io/singularity/singularity:v3.4.0
stage: build
script:
- singularity build template.sif Singularityfile
......@@ -23,6 +28,7 @@ singularity-image:
# Push the image template.sif on the registry
deploy:
image: quay.io/singularity/singularity:v3.4.0
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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment