mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Migrate memory plugin to standalone repository and remove Kasm files (#182)
Remove packages/memory from monorepo - plugin now lives at chriswritescode-dev/opencode-memory and is installed from npm. Update Dockerfile, docs, and workspace config to reflect the change. Remove Dockerfile.kasm, kasm-startup.sh, and Kasm CI workflow.
This commit is contained in:
1 parent
55ec3440f8
commit
0f9caad98d
101 files changed
+47
-19683
No files matched your search
@@ -63,52 +63,4 @@ jobs:
|
||||
cache-to: type=gha,mode=max
|
||||
target: runner
|
||||
|
||||
build-kasm:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Get latest tool versions
|
||||
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=$(curl -s https://api.github.com/repos/anomalyco/opencode/releases/latest | sed -n 's/.*"tag_name": *"\([^"]*\)".*/\1/p')
|
||||
echo "uv=${UV_VERSION}" >> $GITHUB_OUTPUT
|
||||
echo "opencode=${OPENCODE_VERSION}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Docker meta (Kasm)
|
||||
id: meta-kasm
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ghcr.io/${{ github.repository }}
|
||||
tags: |
|
||||
type=semver,pattern={{version}},suffix=-kasm
|
||||
type=semver,pattern={{major}}.{{minor}},suffix=-kasm
|
||||
type=raw,value=latest-kasm
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and push (Kasm)
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile.kasm
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: ${{ steps.meta-kasm.outputs.tags }}
|
||||
labels: ${{ steps.meta-kasm.outputs.labels }}
|
||||
build-args: |
|
||||
UV_VERSION=${{ steps.versions.outputs.uv }}
|
||||
OPENCODE_VERSION=${{ steps.versions.outputs.opencode }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
Reference in new issue
Block a user