added rlevtree docker image
All checks were successful
CI / Build rlevtree docker images (push) Successful in 11s
All checks were successful
CI / Build rlevtree docker images (push) Successful in 11s
This commit is contained in:
39
.gitea/workflows/build-rlevtree.yaml
Normal file
39
.gitea/workflows/build-rlevtree.yaml
Normal 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
3
rlevtree/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
FROM scratch
|
||||||
|
ADD benchmark.wasm /benchmark.wasm
|
||||||
|
CMD ["/benchmark.wasm"]
|
BIN
rlevtree/benchmark.wasm
Normal file
BIN
rlevtree/benchmark.wasm
Normal file
Binary file not shown.
Reference in New Issue
Block a user