Introduce spawner app with sandboxing support and client protocol implementation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
571f43457d
commit
7b1df2607e
26 files changed
+2438
-5
No files matched your search
@@ -9,6 +9,17 @@ env:
|
||||
REGISTRY: git.security-command.org/securitycommand
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
- run: corepack pnpm install --frozen-lockfile
|
||||
- run: corepack pnpm typecheck
|
||||
- run: corepack pnpm test
|
||||
|
||||
sandbox:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -24,3 +35,20 @@ jobs:
|
||||
image="$REGISTRY/homepage-sandbox"
|
||||
docker build -t "$image:${{ gitea.sha }}" -t "$image:${{ gitea.ref_name }}" sandbox/
|
||||
docker push --all-tags "$image"
|
||||
|
||||
spawner:
|
||||
needs: check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to the registry
|
||||
run: >
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}"
|
||||
| docker login "${REGISTRY%%/*}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin
|
||||
|
||||
- name: Build and push
|
||||
run: |
|
||||
image="$REGISTRY/homepage-spawner"
|
||||
docker build -f apps/spawner/Dockerfile -t "$image:${{ gitea.sha }}" -t "$image:${{ gitea.ref_name }}" .
|
||||
docker push --all-tags "$image"
|
||||
Reference in new issue
Block a user