From 0154ac52ac0b8a3a9c0989c28e7a60cf94c1aa23 Mon Sep 17 00:00:00 2001 From: Joji Augustine Date: Tue, 21 Nov 2023 14:40:52 +0100 Subject: [PATCH] first commit --- .github/workflows/build.yaml | 19 +++++++++++++++++++ README.md | 1 + typescript-node/.devcontainer.json | 8 ++++++++ 3 files changed, 28 insertions(+) create mode 100644 .github/workflows/build.yaml create mode 100644 README.md create mode 100644 typescript-node/.devcontainer.json diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..84e71ee --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,19 @@ +name: Build dev container image +on: + push: + branches: + - '*' + +jobs: + build-devcontainer-image: + name: Release Please + runs-on: default-runner-csb + timeout-minutes: 30 + steps: + - name: Pre-build dev container image + uses: devcontainers/ci@v0.3 + with: + subFolder: typescript-node + imageName: ghcr.io/codesandbox/devcontainers/typescript-node + cacheFrom: ghcr.io/codesandbox/devcontainers/typescript-node + push: always \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..dc559a3 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Devcontainer images for CodeSandbox \ No newline at end of file diff --git a/typescript-node/.devcontainer.json b/typescript-node/.devcontainer.json new file mode 100644 index 0000000..2b7ec98 --- /dev/null +++ b/typescript-node/.devcontainer.json @@ -0,0 +1,8 @@ +{ + "name": "CodeSandbox Typescript Node.js", + "image": "mcr.microsoft.com/devcontainers/typescript-node:20", + "features": { + "ghcr.io/codesandbox/devcontainer-features/codesandbox:0.1.4": {} + }, + "remoteUser": "root" +} \ No newline at end of file