From a5ced42d58c1b4051cf7f3e801fe9cc6c5ff3df0 Mon Sep 17 00:00:00 2001 From: Brian Hardock Date: Tue, 14 Oct 2025 11:43:42 -0600 Subject: [PATCH] Add well-known registry config Signed-off-by: Brian Hardock --- spin.toml | 9 +++++++++ well-known/wasm-pkg/registry.json | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 well-known/wasm-pkg/registry.json diff --git a/spin.toml b/spin.toml index f4f16c81..cec19861 100644 --- a/spin.toml +++ b/spin.toml @@ -49,6 +49,15 @@ id = "trigger-bartholomew-spin-v3" component = "bartholomew-spin-v3" route = "/spin/v3/..." +[[trigger.http]] +id = "trigger-well-known" +component = "well-known" +route = "/.well-known/..." + +[component.well-known] +source = "modules/spin_static_fs.wasm" +files = [{ source = "well-known/", destination = "/" }] + [component.bartholomew] # Using build from bartholomew main source = "modules/bartholomew.wasm" diff --git a/well-known/wasm-pkg/registry.json b/well-known/wasm-pkg/registry.json new file mode 100644 index 00000000..073b6b1e --- /dev/null +++ b/well-known/wasm-pkg/registry.json @@ -0,0 +1,4 @@ +{ + "ociRegistry": "ghcr.io", + "ociNamespacePrefix": "spinframework/wasm-pkg/" +}