update component name
This commit is contained in:
parent
93344915b9
commit
798b8ec39b
@ -49,4 +49,4 @@ WORKDIR /app
|
|||||||
|
|
||||||
# Install go dependencies, build the wasm module, push it to the registry
|
# Install go dependencies, build the wasm module, push it to the registry
|
||||||
#CMD ["sh", "-c", "go mod download && go mod verify && go mod tidy && wash build && wash push $REGISTRY build/*_s.wasm"]
|
#CMD ["sh", "-c", "go mod download && go mod verify && go mod tidy && wash build && wash push $REGISTRY build/*_s.wasm"]
|
||||||
CMD ["sh", "-c", "go env -w GOFLAGS=-buildvcs=false && go mod download && go mod verify && wash build && wash push $REGISTRY build/*_s.wasm"]
|
CMD ["sh", "-c", "go env -w GOFLAGS=-buildvcs=false && go mod download && go mod verify && wash build && wash push $REGISTRY build/.wasm"]
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: core.oam.dev/v1beta1
|
apiVersion: core.oam.dev/v1beta1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: tinygo-hello-world
|
name: go-data-stream
|
||||||
annotations:
|
annotations:
|
||||||
description: 'HTTP hello world demo in Golang (TinyGo), using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)'
|
description: 'HTTP hello world demo in Golang (TinyGo), using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)'
|
||||||
wasmcloud.dev/authors: wasmCloud team
|
wasmcloud.dev/authors: wasmCloud team
|
||||||
|
@ -2,6 +2,15 @@
|
|||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
version = 1
|
version = 1
|
||||||
|
|
||||||
|
[[packages]]
|
||||||
|
name = "wasi:config"
|
||||||
|
registry = "wasi.dev"
|
||||||
|
|
||||||
|
[[packages.versions]]
|
||||||
|
requirement = "=0.2.0-draft"
|
||||||
|
version = "0.2.0-draft"
|
||||||
|
digest = "sha256:aa2d36d0843999edad80a13bf22f4529277f7b6012429f8a5d1f9499f3793c1a"
|
||||||
|
|
||||||
[[packages]]
|
[[packages]]
|
||||||
name = "wasi:logging"
|
name = "wasi:logging"
|
||||||
registry = "wasi.dev"
|
registry = "wasi.dev"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name = "go_nats_client"
|
name = "go_nats_stream_client"
|
||||||
language = "tinygo"
|
language = "tinygo"
|
||||||
type = "component"
|
type = "component"
|
||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
@ -6,7 +6,7 @@ version = "1.0.0"
|
|||||||
[component]
|
[component]
|
||||||
wit_world = "hello"
|
wit_world = "hello"
|
||||||
wasm_target = "wasm32-wasip2"
|
wasm_target = "wasm32-wasip2"
|
||||||
destination = "build/go_nats_client_s.wasm"
|
destination = "build/go_nats_stream_client.wasm"
|
||||||
|
|
||||||
[registry]
|
[registry]
|
||||||
url = "gitea.rebus.ninja/lore"
|
url = "gitea.rebus.ninja/lore"
|
||||||
|
Loading…
Reference in New Issue
Block a user