added rlevtree docker image
All checks were successful
CI / Build rlevtree docker images (push) Successful in 7s
All checks were successful
CI / Build rlevtree docker images (push) Successful in 7s
This commit is contained in:
43
.gitea/workflows/build-rlevtree.yaml
Normal file
43
.gitea/workflows/build-rlevtree.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
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
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
-
|
||||
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
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
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