mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
feat(sandbox): add KVM-backed agent sandboxing via microsandbox
This commit is contained in:
1 parent
1d477bdee4
commit
aa3fb48a62
80 files changed
+17304
-204
No files matched your search
@@ -20,10 +20,12 @@ jobs:
|
||||
id: versions
|
||||
run: |
|
||||
UV_VERSION=$(git ls-remote --tags --sort=-v:refname https://github.com/astral-sh/uv.git 'refs/tags/[0-9]*' | head -1 | sed 's/.*refs\/tags\///')
|
||||
OPENCODE_VERSION=$(git ls-remote --tags --sort=-v:refname https://github.com/anomalyco/opencode.git 'refs/tags/v[0-9]*' | head -1 | sed 's/.*refs\/tags\/v//')
|
||||
OPENCODE_VERSION=1.18.16
|
||||
MICROSANDBOX_VERSION=0.6.8
|
||||
echo "uv=${UV_VERSION}" >> $GITHUB_OUTPUT
|
||||
echo "opencode=${OPENCODE_VERSION}" >> $GITHUB_OUTPUT
|
||||
echo "Detected versions: uv=${UV_VERSION}, opencode=${OPENCODE_VERSION}"
|
||||
echo "microsandbox=${MICROSANDBOX_VERSION}" >> $GITHUB_OUTPUT
|
||||
echo "Detected versions: uv=${UV_VERSION}, opencode=${OPENCODE_VERSION}, microsandbox=${MICROSANDBOX_VERSION}"
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
@@ -60,6 +62,7 @@ jobs:
|
||||
build-args: |
|
||||
UV_VERSION=${{ steps.versions.outputs.uv }}
|
||||
OPENCODE_VERSION=${{ steps.versions.outputs.opencode }}
|
||||
MICROSANDBOX_VERSION=${{ steps.versions.outputs.microsandbox }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
target: runner
|
||||
|
||||
Reference in new issue
Block a user