File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 22
22
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u "${{ secrets.GHCR_USER }}" --password-stdin
23
23
docker build . --tag ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag_name }} -f Dockerfile
24
24
docker push ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag_name }}
25
+ - uses : actions/setup-go@v5
26
+ - name : Download and Setup container2wasm
27
+ run : |
28
+ wget https://github.com/ktock/container2wasm/releases/download/v0.6.5/container2wasm-v0.6.5-linux-amd64.tar.gz
29
+ tar -xzf container2wasm-v0.6.5-linux-amd64.tar.gz
30
+ chmod +x container2wasm-v0.6.5-linux-amd64/c2w
31
+ sudo mv container2wasm-v0.6.5-linux-amd64/c2w /usr/local/bin/c2w
32
+ - name : Build using container2wasm
33
+ run : |
34
+ c2w ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag_name }} -o sd.wasm
You can’t perform that action at this time.
0 commit comments