File tree 1 file changed +11
-15
lines changed
1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
env :
17
17
FORCE_COLOR : 1
18
- strategy :
19
- matrix :
20
- container_type : ['docker', 'singularity'] # TODO , "singularity_oras"]
21
- architecture : ['amd64', 'arm64']
22
18
steps :
23
- # TODO
24
- # - uses: earthly/actions/setup-earthly@v1
25
- # with:
26
- # version: v0.8.13
27
- # Use the @nf-core-bot token to check out so we can push later
28
19
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
29
20
with :
30
21
token : ${{ secrets.nf_core_bot_auth_token }}
@@ -34,12 +25,17 @@ jobs:
34
25
version : " 25.01.0-edge"
35
26
- name : Snapshot containers
36
27
run : |
37
- if [ "${{ matrix.architecture }}" == "arm64" ]; then
38
- profile="wave,${{ matrix.container_type }},arm"
39
- else
40
- profile="wave,${{ matrix.container_type }}"
41
- fi
42
- nextflow inspect . -profile $profile -format config > conf/containers/containers_${{ matrix.container_type }}_${{ matrix.architecture }}.config
28
+ mkdir -p conf/containers
29
+ for container in docker singularity; do
30
+ for arch in amd64 arm64; do
31
+ if [ "$arch" = "arm64" ]; then
32
+ profile="wave,$container,arm"
33
+ else
34
+ profile="wave,$container"
35
+ fi
36
+ nextflow inspect . -profile $profile -format config > conf/containers/containers_${container}_${arch}.config
37
+ done
38
+ done
43
39
- name : Commit & push changes
44
40
id : commit-and-push
45
41
run : |
You can’t perform that action at this time.
0 commit comments