File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 79
79
- name : Normalize COMPONENT_NAME and Append .wasm
80
80
run : echo "COMPONENT_NAME_UNDERSCORED=${COMPONENT_NAME//-/_}.wasm" >> $GITHUB_ENV
81
81
82
- - name : Publish to GitHub Container Registry
82
+ - name : Publish `:<version>` to GitHub Container Registry
83
83
if : github.event_name != 'workflow_dispatch'
84
84
id : publish
85
85
uses : bytecodealliance/wkg-github-action@v5
92
92
homepage : ${{ env.COMPONENT_HOMEPAGE }}
93
93
licenses : ${{ env.COMPONENT_LICENSES }}
94
94
95
+ - name : Publish `:latest` release to GitHub Container Registry
96
+ if : github.event_name != 'workflow_dispatch'
97
+ id : publish
98
+ uses : bytecodealliance/wkg-github-action@v5
99
+ with :
100
+ file : target/wasm32-wasip1/release/${{ env.COMPONENT_NAME_UNDERSCORED }}
101
+ oci-reference-without-tag : ghcr.io/${{ env.IMAGE_NAME }}/${{ env.COMPONENT_NAME }}
102
+ version : latest
103
+ description : ${{ env.COMPONENT_DESCRIPTION }}
104
+ source : ${{ env.COMPONENT_SOURCE }}
105
+ homepage : ${{ env.COMPONENT_HOMEPAGE }}
106
+ licenses : ${{ env.COMPONENT_LICENSES }}
107
+
95
108
- name : Sign the wasm component
96
109
if : github.event_name != 'workflow_dispatch'
97
110
run : cosign sign --yes ghcr.io/${{ env.IMAGE_NAME }}/${{ env.COMPONENT_NAME }}@${{ steps.publish.outputs.digest }}
You can’t perform that action at this time.
0 commit comments