added rlevtree docker image
All checks were successful
CI / Build rlevtree docker images (push) Successful in 11s

This commit is contained in:
2025-08-06 16:06:48 +08:00
parent ab0ceb2fd7
commit c7eff5a2ca
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
name: CI
on:
push:
branches: [ master ]
paths:
- 'rlevtree/*'
- '.gitea/workflows/build-rlevtree.yaml'
jobs:
"Build rlevtree docker images":
runs-on: woryzen
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.4.0
with:
driver: docker-container
platforms: |
wasm/wasm
-
name: Login to Gitea container registry
uses: docker/login-action@v3
with:
registry: gitea.woggioni.net
username: woggioni
password: ${{ secrets.PUBLISHER_TOKEN }}
-
name: Build and push sserver-rust images
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:rlevtree"
platforms: |
wasm/wasm
push: true
pull: true
tags: |
"gitea.woggioni.net/woggioni/rlevtree:latest"
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/rlevtree:buildx
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/rlevtree:buildx

3
rlevtree/Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM scratch
ADD benchmark.wasm /benchmark.wasm
CMD ["/benchmark.wasm"]

BIN
rlevtree/benchmark.wasm Normal file

Binary file not shown.