Skip to content
Snippets Groups Projects
Commit 521b3f09 authored by Alexis Mergez's avatar Alexis Mergez
Browse files

Updated pytools help section

parent ee7d0840
No related branches found
Tags v1.4.2
No related merge requests found
Pipeline #167649 canceled
......@@ -15,7 +15,10 @@ build-and-push pangetools:
name: kaczmarj/apptainer:latest
entrypoint: [""]
rules:
- if: $CI_COMMIT_TAG # Run this job when a tag is created
- changes:
- PanGeTools.sif
- exists: # Run this job when a tag is created
- $CI_COMMIT_TAG
script:
- sed -i "s/VERSION_NUMBER/${CI_COMMIT_TAG#v}/" PanGeTools.def
- apptainer build PanGeTools.sif PanGeTools.def
......@@ -28,9 +31,12 @@ build-and-push pytools:
name: kaczmarj/apptainer:latest
entrypoint: [""]
rules:
- if: $CI_COMMIT_TAG # Run this job when a tag is created
- changes:
- PyTools.sif
- exists:
- $CI_COMMIT_TAG # Run this job when a tag is created
script:
- sed -i "s/VERSION_NUMBER/${CI_COMMIT_TAG#v}/" PanGeTools.def
- sed -i "s/VERSION_NUMBER/${CI_COMMIT_TAG#v}/" PyTools.def
- apptainer build PyTools.sif PyTools.def
- apptainer push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" PyTools.sif oras://"$CI_REGISTRY_IMAGE"/pytools:"$CI_COMMIT_TAG"
- apptainer push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" PyTools.sif oras://"$CI_REGISTRY_IMAGE"/pytools:latest
......
......@@ -24,4 +24,5 @@ Stage: build
- RagTag
- Biopython
- pandas
- numpy
\ No newline at end of file
- numpy
To use the image, use apptainer run <image path>.sif [command]
\ No newline at end of file
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