Skip to content

Commit 609d5b7

Browse files
committed
Fix CI refs for containers.
1 parent 1d55340 commit 609d5b7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
name: Ubuntu "cxx=${{matrix.config.cxx}}, std=c++${{matrix.config.cxxstd}}, variant=c++${{matrix.config.variant}}"
2121
runs-on: ubuntu-latest
2222
container:
23-
image: ${{matrix.container}}
23+
image: ${{matrix.config.container}}
2424
volumes:
2525
- /node20217:/node20217:rw,rshared
26-
- ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
26+
- ${{ startsWith(matrix.config.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
2727
strategy:
2828
fail-fast: false
2929
# If any compiler fails to compile, continue CI for next compiler in matrix instead of failing early
@@ -38,13 +38,13 @@ jobs:
3838

3939
steps:
4040
- name: Setup container environment
41-
if: matrix.container
41+
if: matrix.config.container
4242
run: |
4343
apt-get update
4444
apt-get -y install sudo python3 git g++ curl xz-utils
4545
4646
- name: Install nodejs20glibc2.17
47-
if: ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
47+
if: ${{ startsWith( matrix.config.container, 'ubuntu:1' ) }}
4848
run: |
4949
curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
5050
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217

.github/workflows/sanitizer.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
name: "${{matrix.config.name}} with ${{matrix.config.description}} sanitizer with std=${{matrix.config.cxx}} and variant=${{matrix.config.variant}}"
2020
runs-on: ubuntu-latest
2121
container:
22-
image: ${{matrix.container}}
22+
image: ${{matrix.config.container}}
2323
volumes:
2424
- /node20217:/node20217:rw,rshared
25-
- ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
25+
- ${{ startsWith(matrix.config.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
2626
strategy:
2727
fail-fast: false
2828
# If any compiler fails to compile, continue CI for next compiler in matrix instead of failing early
@@ -37,13 +37,13 @@ jobs:
3737

3838
steps:
3939
- name: Setup container environment
40-
if: matrix.container
40+
if: matrix.config.container
4141
run: |
4242
apt-get update
4343
apt-get -y install sudo python3 git g++ curl xz-utils
4444
4545
- name: Install nodejs20glibc2.17
46-
if: ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
46+
if: ${{ startsWith( matrix.config.container, 'ubuntu:1' ) }}
4747
run: |
4848
curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
4949
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217

0 commit comments

Comments
 (0)