8
8
9
9
env :
10
10
IMAGE_NAME : ${{ github.repository }}
11
- CARGO_COMPONENT_VERSION : " 0.16.0"
12
- # TODO: These can be removed once https://github.com/bytecodealliance/cargo-component/pull/372 is merged
13
- COMPONENT_NAME : sample-wasi-http-rust
14
- COMPONENT_DESCRIPTION : " A sample WASI HTTP component written in Rust"
15
- COMPONENT_SOURCE : " https://github.com/bytecodealliance/sample-wasi-http-rust"
16
- COMPONENT_HOMEPAGE : " https://github.com/bytecodealliance/sample-wasi-http-rust"
17
- COMPONENT_LICENSES : " Apache-2.0 WITH LLVM-exception"
11
+ CARGO_COMPONENT_VERSION : " 0.21.0"
18
12
19
13
jobs :
20
14
publish :
85
79
file : target/wasm32-wasip1/release/${{ env.COMPONENT_NAME_UNDERSCORED }}
86
80
oci-reference-without-tag : ghcr.io/${{ env.IMAGE_NAME }}/${{ env.COMPONENT_NAME }}
87
81
version : ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
88
- description : ${{ env.COMPONENT_DESCRIPTION }}
89
- source : ${{ env.COMPONENT_SOURCE }}
90
- homepage : ${{ env.COMPONENT_HOMEPAGE }}
91
- licenses : ${{ env.COMPONENT_LICENSES }}
92
82
93
83
- name : Sign the versioned wasm component
94
84
if : github.event_name != 'workflow_dispatch'
@@ -102,10 +92,6 @@ jobs:
102
92
file : target/wasm32-wasip1/release/${{ env.COMPONENT_NAME_UNDERSCORED }}
103
93
oci-reference-without-tag : ghcr.io/${{ env.IMAGE_NAME }}/${{ env.COMPONENT_NAME }}
104
94
version : latest
105
- description : ${{ env.COMPONENT_DESCRIPTION }}
106
- source : ${{ env.COMPONENT_SOURCE }}
107
- homepage : ${{ env.COMPONENT_HOMEPAGE }}
108
- licenses : ${{ env.COMPONENT_LICENSES }}
109
95
110
96
- name : Sign the latest wasm component
111
97
if : github.event_name != 'workflow_dispatch'
0 commit comments