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

change way ok build and deploy

parent 0e818289
......@@ -5,35 +5,20 @@ image:
stages:
- build
- deploy
singularity-image-metag:
stage: build
script:
- singularity build metagWGS.sif env/Singularity_recipe_metagWGS
artifacts:
paths:
- metagWGS.sif
when: manual
- 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"
rules:
- if: $CI_COMMIT_TAG
singularity-image-eggnog:
stage: build
script:
- singularity build eggnog_mapper.sif env/Singularity_recipe_eggnog_mapper
artifacts:
paths:
- eggnog_mapper.sif
when: manual
# Push the image template.sif on the registry
deploy-metag:
stage: deploy
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"
when: manual
deploy-eggnog:
stage: deploy
script:
- 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"
when: manual
rules:
- if: $CI_COMMIT_TAG
Supports Markdown
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