@actcore/act-build 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -75,6 +75,12 @@ act-build pack target/wasm32-wasip2/release/my_component.wasm
|
|
|
75
75
|
|
|
76
76
|
# Validate without modifying
|
|
77
77
|
act-build validate target/wasm32-wasip2/release/my_component.wasm
|
|
78
|
+
|
|
79
|
+
# Publish as a CNCF Wasm OCI Artifact
|
|
80
|
+
act-build push my_component.wasm ghcr.io/actpkg/my-component:0.1.0 \
|
|
81
|
+
--also-tag latest \
|
|
82
|
+
--source https://github.com/actpkg/my-component \
|
|
83
|
+
--skip-if-identical
|
|
78
84
|
```
|
|
79
85
|
|
|
80
86
|
Metadata is resolved via merge-patch from project manifests:
|
|
@@ -83,6 +89,17 @@ Metadata is resolved via merge-patch from project manifests:
|
|
|
83
89
|
2. **Inline patch** from the same manifest (`[package.metadata.act-component]`, `[tool.act-component]`, or `actComponent`)
|
|
84
90
|
3. **`act.toml`** — highest priority, applied last
|
|
85
91
|
|
|
92
|
+
`act-build push` produces artifacts conformant with the [CNCF
|
|
93
|
+
TAG-Runtime Wasm OCI Artifact spec](https://tag-runtime.cncf.io/wgs/wasm/deliverables/wasm-oci-artifact/):
|
|
94
|
+
manifest config has media type `application/vnd.wasm.config.v0+json`
|
|
95
|
+
(with `architecture`, `os`, `layerDigests`, and
|
|
96
|
+
`component.{exports,imports}` derived from the component's exports
|
|
97
|
+
and imports), and the layer is `application/wasm`.
|
|
98
|
+
|
|
99
|
+
Authentication is resolved in order: `OCI_USERNAME`/`OCI_PASSWORD`
|
|
100
|
+
env, then `GITHUB_TOKEN` for `ghcr.io`, then `~/.docker/config.json`
|
|
101
|
+
(or `$DOCKER_CONFIG/config.json`), then anonymous.
|
|
102
|
+
|
|
86
103
|
## Platform Support
|
|
87
104
|
|
|
88
105
|
| Architecture | Linux (GNU) | Linux (musl) | macOS | Windows | Docker |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actcore/act-build",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Build tool for ACT WASM components",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
},
|
|
15
15
|
"files": ["bin"],
|
|
16
16
|
"optionalDependencies": {
|
|
17
|
-
"@actcore/act-build-linux-x64": "0.7.
|
|
18
|
-
"@actcore/act-build-linux-arm64": "0.7.
|
|
19
|
-
"@actcore/act-build-linux-riscv64": "0.7.
|
|
20
|
-
"@actcore/act-build-darwin-x64": "0.7.
|
|
21
|
-
"@actcore/act-build-darwin-arm64": "0.7.
|
|
22
|
-
"@actcore/act-build-win32-x64": "0.7.
|
|
23
|
-
"@actcore/act-build-win32-arm64": "0.7.
|
|
17
|
+
"@actcore/act-build-linux-x64": "0.7.3",
|
|
18
|
+
"@actcore/act-build-linux-arm64": "0.7.3",
|
|
19
|
+
"@actcore/act-build-linux-riscv64": "0.7.3",
|
|
20
|
+
"@actcore/act-build-darwin-x64": "0.7.3",
|
|
21
|
+
"@actcore/act-build-darwin-arm64": "0.7.3",
|
|
22
|
+
"@actcore/act-build-win32-x64": "0.7.3",
|
|
23
|
+
"@actcore/act-build-win32-arm64": "0.7.3"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public",
|