@@ -122,6 +122,126 @@ jobs:
122122 run : |
123123 echo "::error::Failed to build or push DiaNN 2.1.0 images. Check the logs for details."
124124
125+ build-diann-2-2-0 :
126+ name : Build and Push DiaNN 2.2.0 Docker Images
127+ runs-on : ubuntu-latest
128+ permissions :
129+ contents : read
130+ packages : write
131+ steps :
132+ - name : Checkout repository
133+ uses : actions/checkout@v4
134+ - name : Set up Docker Buildx
135+ uses : docker/setup-buildx-action@v3
136+ - name : Log in to GitHub Container Registry
137+ uses : docker/login-action@v3
138+ with :
139+ registry : ghcr.io
140+ username : ${{ github.actor }}
141+ password : ${{ secrets.GHCR_TOKEN }}
142+ - name : Build and Push DiaNN 2.2.0 image
143+ uses : docker/build-push-action@v5
144+ with :
145+ context : ./diann-2.2.0
146+ push : ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
147+ tags : ghcr.io/bigbio/diann:2.2.0
148+ cache-from : type=gha
149+ cache-to : type=gha,mode=max
150+ provenance : false
151+ - name : Set up Singularity
152+ if : ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
153+ uses : eWaterCycle/setup-singularity@v7
154+ with :
155+ singularity-version : 3.8.7
156+ - name : Convert to Singularity and push
157+ if : (github.event_name != 'pull_request')
158+ run : |
159+ docker pull ghcr.io/bigbio/diann:2.2.0
160+ docker save ghcr.io/bigbio/diann:2.2.0 -o diann-2.2.0.tar
161+ singularity build diann-2.2.0.sif docker-archive://diann-2.2.0.tar
162+ echo ${{ secrets.GHCR_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
163+ singularity push diann-2.2.0.sif oras://ghcr.io/bigbio/diann-sif:2.2.0
164+
165+ build-diann-2-0 :
166+ name : Build and Push DiaNN 2.0.2 Docker Images
167+ runs-on : ubuntu-latest
168+ permissions :
169+ contents : read
170+ packages : write
171+ steps :
172+ - name : Checkout repository
173+ uses : actions/checkout@v4
174+ - name : Set up Docker Buildx
175+ uses : docker/setup-buildx-action@v3
176+ - name : Log in to GitHub Container Registry
177+ uses : docker/login-action@v3
178+ with :
179+ registry : ghcr.io
180+ username : ${{ github.actor }}
181+ password : ${{ secrets.GHCR_TOKEN }}
182+ - name : Build and Push DiaNN 2.0.2 image
183+ uses : docker/build-push-action@v5
184+ with :
185+ context : ./diann-2.0
186+ push : ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
187+ tags : ghcr.io/bigbio/diann:2.0.2
188+ cache-from : type=gha
189+ cache-to : type=gha,mode=max
190+ provenance : false
191+ - name : Set up Singularity
192+ if : ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
193+ uses : eWaterCycle/setup-singularity@v7
194+ with :
195+ singularity-version : 3.8.7
196+ - name : Convert to Singularity and push
197+ if : (github.event_name != 'pull_request')
198+ run : |
199+ docker pull ghcr.io/bigbio/diann:2.0.2
200+ docker save ghcr.io/bigbio/diann:2.0.2 -o diann-2.0.2.tar
201+ singularity build diann-2.0.2.sif docker-archive://diann-2.0.2.tar
202+ echo ${{ secrets.GHCR_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
203+ singularity push diann-2.0.2.sif oras://ghcr.io/bigbio/diann-sif:2.0.2
204+
205+ build-diann-1-9-2 :
206+ name : Build and Push DiaNN 1.9.2 Docker Images
207+ runs-on : ubuntu-latest
208+ permissions :
209+ contents : read
210+ packages : write
211+ steps :
212+ - name : Checkout repository
213+ uses : actions/checkout@v4
214+ - name : Set up Docker Buildx
215+ uses : docker/setup-buildx-action@v3
216+ - name : Log in to GitHub Container Registry
217+ uses : docker/login-action@v3
218+ with :
219+ registry : ghcr.io
220+ username : ${{ github.actor }}
221+ password : ${{ secrets.GHCR_TOKEN }}
222+ - name : Build and Push DiaNN 1.9.2 image
223+ uses : docker/build-push-action@v5
224+ with :
225+ context : ./diann-1.9.2
226+ push : ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
227+ tags : ghcr.io/bigbio/diann:1.9.2
228+ cache-from : type=gha
229+ cache-to : type=gha,mode=max
230+ provenance : false
231+ - name : Set up Singularity
232+ if : ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
233+ uses : eWaterCycle/setup-singularity@v7
234+ with :
235+ singularity-version : 3.8.7
236+ - name : Convert to Singularity and push
237+ if : (github.event_name != 'pull_request')
238+ run : |
239+ docker pull ghcr.io/bigbio/diann:1.9.2
240+ docker save ghcr.io/bigbio/diann:1.9.2 -o diann-1.9.2.tar
241+ singularity build diann-1.9.2.sif docker-archive://diann-1.9.2.tar
242+ echo ${{ secrets.GHCR_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
243+ singularity push diann-1.9.2.sif oras://ghcr.io/bigbio/diann-sif:1.9.2
244+
125245 build-diann-1-8-1 :
126246 name : Build and Push DiaNN 1.8.1 Docker Images
127247 runs-on : ubuntu-latest
@@ -284,7 +404,7 @@ jobs:
284404
285405 sync-openms :
286406 name : Sync OpenMS Containers
287- needs : [build-diann-2-1-0, build-diann-1-8-1, build-relink-1-0-0]
407+ needs : [build-diann-2-2-0, build-diann-2- 1-0, build-diann-2-0, build-diann-1-9-2 , build-diann-1-8-1, build-relink-1-0-0]
288408 runs-on : ubuntu-latest
289409 permissions :
290410 contents : read
0 commit comments