File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122122 set -e
123123 cd /workspace/plugins/wasm-go/extensions/${PLUGIN_NAME}
124124 go mod tidy
125- GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o plugin.wasm main.go
125+ GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o plugin.wasm .
126126 tar czvf plugin.tar.gz plugin.wasm
127127 echo ${{ secrets.REGISTRY_PASSWORD }} | oras login -u ${{ secrets.REGISTRY_USERNAME }} --password-stdin ${{ env.IMAGE_REGISTRY_SERVICE }}
128128 oras push ${target_image} ${push_command}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ WORKDIR /workspace/extensions/$PLUGIN_NAME
1515
1616RUN go mod tidy
1717RUN \
18- GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o /main.wasm ./
18+ GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o /main.wasm .
1919
2020FROM scratch AS output
2121
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ builder:
6060 @echo " image: ${BUILDER} "
6161
6262local-build :
63- cd extensions/${PLUGIN_NAME} ; GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o ./main.wasm ./
63+ cd extensions/${PLUGIN_NAME} ; GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o ./main.wasm .
6464
6565 @echo ""
6666 @echo "wasm: extensions/${PLUGIN_NAME}/main.wasm"
You can’t perform that action at this time.
0 commit comments