Skip to content

Commit ae5c9fc

Browse files
authored
add universal image
1 parent 1a3fb9d commit ae5c9fc

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/build.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ jobs:
1313
contents: read
1414
packages: write
1515

16+
strategy:
17+
matrix:
18+
image: [
19+
"typescript-node",
20+
"universal"
21+
]
22+
1623
steps:
1724
- name: Checkout
1825
uses: actions/checkout@v4
@@ -27,7 +34,7 @@ jobs:
2734
- name: Pre-build dev container image
2835
uses: devcontainers/ci@v0.3
2936
with:
30-
subFolder: typescript-node
31-
imageName: ghcr.io/codesandbox/devcontainers/typescript-node
32-
cacheFrom: ghcr.io/codesandbox/devcontainers/typescript-node
37+
subFolder: ${{ matrix.image }}
38+
imageName: ghcr.io/codesandbox/devcontainers/${{ matrix.image }}
39+
cacheFrom: ghcr.io/codesandbox/devcontainers/${{ matrix.image }}
3340
push: always
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "CodeSandbox Universal",
3+
"image": "mcr.microsoft.com/devcontainers/universal:2-focal",
4+
"features": {
5+
"ghcr.io/codesandbox/devcontainer-features/codesandbox:0.1.4": {}
6+
},
7+
"remoteUser": "root"
8+
}

0 commit comments

Comments
 (0)