Skip to content

Commit a5ced42

Browse files
committed
Add well-known registry config
Signed-off-by: Brian Hardock <[email protected]>
1 parent affec4c commit a5ced42

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

spin.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ id = "trigger-bartholomew-spin-v3"
4949
component = "bartholomew-spin-v3"
5050
route = "/spin/v3/..."
5151

52+
[[trigger.http]]
53+
id = "trigger-well-known"
54+
component = "well-known"
55+
route = "/.well-known/..."
56+
57+
[component.well-known]
58+
source = "modules/spin_static_fs.wasm"
59+
files = [{ source = "well-known/", destination = "/" }]
60+
5261
[component.bartholomew]
5362
# Using build from bartholomew main
5463
source = "modules/bartholomew.wasm"

well-known/wasm-pkg/registry.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"ociRegistry": "ghcr.io",
3+
"ociNamespacePrefix": "spinframework/wasm-pkg/"
4+
}

0 commit comments

Comments
 (0)