4848 registry : ghcr.io
4949 username : ${{ github.actor }}
5050 password : ${{ secrets.GHCR_TOKEN }}
51-
52- - name : Install GitHub CLI
53- run : |
54- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
55- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
56- sudo apt update
57- sudo apt install gh
58- gh auth login --with-token <<< "${{ secrets.GHCR_TOKEN }}"
5951
6052 - name : Extract metadata for Docker
6153 id : meta
8173 cache-from : type=gha
8274 cache-to : type=gha,mode=max
8375 provenance : false
84-
85- # Note: DiaNN containers remain private as per license requirements
8676
8777 - name : Set up Singularity
8878 if : ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
@@ -116,8 +106,6 @@ jobs:
116106 # Push with version tag
117107 singularity push diann-2.1.0.sif oras://ghcr.io/bigbio/diann-sif:2.1.0
118108
119- # Note: DiaNN containers remain private as per license requirements
120-
121109 # If this is a release event, also tag as latest
122110 if [[ "${{ env.IS_RELEASE }}" == "true" || "${{ github.event_name }}" == "release" ]]; then
123111 singularity push diann-2.1.0.sif oras://ghcr.io/bigbio/diann-sif:latest
@@ -142,8 +130,7 @@ jobs:
142130 packages : write
143131
144132 env :
145- # This version should be manually updated for each release
146- OPENMS_VERSION : " 2025.04.12" # Format: YYYY.MM.DD
133+ OPENMS_VERSION : " 2025.04.14" # Manually defined version for OpenMS
147134
148135 steps :
149136 - name : Checkout repository
@@ -158,14 +145,6 @@ jobs:
158145 registry : ghcr.io
159146 username : ${{ github.actor }}
160147 password : ${{ secrets.GHCR_TOKEN }}
161-
162- - name : Install GitHub CLI
163- run : |
164- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
165- echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
166- sudo apt update
167- sudo apt install gh
168- gh auth login --with-token <<< "${{ secrets.GHCR_TOKEN }}"
169148
170149 - name : Pull OpenMS Docker container
171150 id : pull_docker
@@ -193,13 +172,6 @@ jobs:
193172 docker push $TARGET_CONTAINER
194173 }
195174
196- # Make the package public
197- echo "Making package public"
198- gh api --method PATCH /orgs/bigbio/packages/container/openms-tools-thirdparty/visibility \
199- -f visibility="public" \
200- -H "Accept: application/vnd.github+json" \
201- -H "X-GitHub-Api-Version: 2022-11-28"
202-
203175 # If this is a release push or a GitHub release event, also tag as latest
204176 if [[ "${{ github.event.inputs.push_release }}" == "true" || "${{ github.event_name }}" == "release" ]]; then
205177 LATEST_IMAGE="ghcr.io/bigbio/openms-tools-thirdparty:latest"
@@ -253,13 +225,6 @@ jobs:
253225 singularity push openms-tools-thirdparty.sif oras://ghcr.io/bigbio/openms-tools-thirdparty-sif:${{ env.OPENMS_VERSION }}
254226 }
255227
256- # Make the SIF package public
257- echo "Making SIF package public"
258- gh api --method PATCH /orgs/bigbio/packages/container/openms-tools-thirdparty-sif/visibility \
259- -f visibility="public" \
260- -H "Accept: application/vnd.github+json" \
261- -H "X-GitHub-Api-Version: 2022-11-28"
262-
263228 # If this is a release push or a GitHub release event, also tag as latest
264229 if [[ "${{ github.event.inputs.push_release }}" == "true" || "${{ github.event_name }}" == "release" ]]; then
265230 echo "Pushing OpenMS SIF as latest"
0 commit comments