@@ -129,6 +129,9 @@ jobs:
129129 contents : read
130130 packages : write
131131
132+ env :
133+ OPENMS_VERSION : " 2025.04.14" # Manually defined version for OpenMS
134+
132135 steps :
133136 - name : Checkout repository
134137 uses : actions/checkout@v4
@@ -143,10 +146,6 @@ jobs:
143146 username : ${{ github.actor }}
144147 password : ${{ secrets.GHCR_TOKEN }}
145148
146- - name : Set date tag
147- id : date
148- run : echo "DATE_TAG=$(date +'%Y.%m.%d')" >> $GITHUB_OUTPUT
149-
150149 - name : Pull OpenMS Docker container
151150 id : pull_docker
152151 uses : nick-fields/retry@v2
@@ -159,9 +158,9 @@ jobs:
159158 - name : Tag and push OpenMS Docker container
160159 if : steps.pull_docker.outcome == 'success'
161160 run : |
162- # Set container names
161+ # Set container names using the fixed version
163162 SOURCE_CONTAINER="ghcr.io/openms/openms-tools-thirdparty:latest"
164- TARGET_CONTAINER="ghcr.io/bigbio/openms-tools-thirdparty:${{ steps.date.outputs.DATE_TAG }}"
163+ TARGET_CONTAINER="ghcr.io/bigbio/openms-tools-thirdparty:${{ env.OPENMS_VERSION }}"
165164
166165 echo "Tagging as $TARGET_CONTAINER"
167166 docker tag $SOURCE_CONTAINER $TARGET_CONTAINER
@@ -218,12 +217,12 @@ jobs:
218217 # Login to GitHub Container Registry
219218 echo ${{ secrets.GHCR_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
220219
221- # Set SIF paths and push with date tag
222- echo "Pushing OpenMS SIF with date tag"
223- singularity push openms-tools-thirdparty.sif oras://ghcr.io/bigbio/openms-tools-thirdparty-sif:${{ steps.date.outputs.DATE_TAG }} || {
224- echo "Failed to push with date tag, retrying..."
220+ # Set SIF paths and push with version tag
221+ echo "Pushing OpenMS SIF with version tag"
222+ singularity push openms-tools-thirdparty.sif oras://ghcr.io/bigbio/openms-tools-thirdparty-sif:${{ env.OPENMS_VERSION }} || {
223+ echo "Failed to push with version tag, retrying..."
225224 sleep 60
226- singularity push openms-tools-thirdparty.sif oras://ghcr.io/bigbio/openms-tools-thirdparty-sif:${{ steps.date.outputs.DATE_TAG }}
225+ singularity push openms-tools-thirdparty.sif oras://ghcr.io/bigbio/openms-tools-thirdparty-sif:${{ env.OPENMS_VERSION }}
227226 }
228227
229228 # If this is a release push or a GitHub release event, also tag as latest
0 commit comments