Skip to content

Commit 2b678b1

Browse files
edmundmillerclaude
andcommitted
ci: optimize container config workflow
- Update to Nextflow stable version 25.04.7 - Strip back to docker builds only (singularity disabled temporarily) - Update ARM profile from 'arm' to 'arm64' following nf-core standards - Add path filter to run only on modules.json changes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9e22ce2 commit 2b678b1

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/containers_config.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
name: Container Configs
22

33
on:
4-
# FIXME Remove these and only run on release or PRs to main or TEMPLATE updates
54
push:
6-
branches: [main,dev]
5+
branches: [main, dev]
6+
paths: ['modules.json']
77
pull_request:
8-
branches: [main,dev]
8+
branches: [main, dev]
9+
paths: ['modules.json']
910
release:
1011
types: [published]
1112
# TODO workflow_dispatch:
@@ -22,14 +23,16 @@ jobs:
2223
ref: ${{ github.head_ref }}
2324
- uses: nf-core/setup-nextflow@v2
2425
with:
25-
version: "25.01.0-edge"
26+
version: "25.04.7"
2627
- name: Snapshot containers
2728
run: |
2829
mkdir -p conf/containers
29-
for container in docker singularity; do
30+
# TODO: Re-enable singularity builds once singularity image issues are resolved
31+
# https://github.com/nf-core/rnaseq/pull/1515#pullrequestreview-3201429623
32+
for container in docker; do # singularity
3033
for arch in amd64 arm64; do
3134
if [ "$arch" = "arm64" ]; then
32-
profile="wave,$container,arm"
35+
profile="wave,$container,arm64"
3336
else
3437
profile="wave,$container"
3538
fi
@@ -48,4 +51,3 @@ jobs:
4851
git status
4952
git commit -m "[automated] Update container configs"
5053
git push
51-

0 commit comments

Comments
 (0)