Commit add3f5cd authored by Jean Mainguy's avatar Jean Mainguy
Browse files

Merge branch 'dev' of forgemia.inra.fr:genotoul-bioinfo/metagwgs into dev

parents eb95e0a4 1154a060
Pipeline #46888 passed with stage
in 12 minutes and 43 seconds
......@@ -5,32 +5,17 @@ image:
stages:
- build
- deploy
# Build Singularity container bwa_v0.7.17.sif
singularity-image:
singularity-image-metag:
stage: build
script:
- singularity build metagWGS.sif env/Singularity_recipe_metagWGS
- singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper
artifacts:
paths:
- metagWGS.sif
- eggnog_mapper.sif
only:
changes:
- .gitlab-ci.yml
- env/*
- singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" metagWGS.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME"/metagWGS:"$CI_COMMIT_TAG"
when: manual
# Push the image template.sif on the registry
deploy:
stage: deploy
singularity-image-eggnog:
stage: build
script:
- singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" metagWGS.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME"/metagWGS:"$CI_COMMIT_TAG"
- singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper
- singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" eggnog_mapper.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME"/eggnog_mapper:"$CI_COMMIT_TAG"
only:
changes:
- .gitlab-ci.yml
- env/*
when: manual
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