File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 30
30
username : ${{ github.actor }}
31
31
password : ${{ secrets.GITHUB_TOKEN }}
32
32
33
+ - name : Install cosign
34
+
35
+
33
36
- name : Cache cargo bin
34
37
id : cache-cargo
35
38
uses : actions/cache@v3
51
54
- name : Run build script
52
55
run : bash scripts/build.sh
53
56
54
- - name : Run publish script
55
- run : bash scripts/publish.sh ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
57
+ # - name: Run publish script
58
+ # run: bash scripts/publish.sh ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
59
+
60
+ # using my version until the PR is merged upstream
61
+ # https://github.com/bytecodealliance/wkg-github-action/pull/7
62
+ - name : Publish to GitHub Container Registry
63
+ uses : duffney/wkg-github-action@9680cbd1dd38119bbc519c6c3e0b7fffe0b4982c
64
+ with :
65
+ file : target/wasm32-wasi/release/rust_wasi_hello.wasm
66
+ oci-reference-without-tag : ghcr.io/${{ github.actor }}/rust-wasi-hello
67
+ version : ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
68
+
69
+ - name : Sign the wasm component
70
+ run : cosign sign --yes ghcr.io/${{ github.actor }}/rust-wasi-hello@${{ steps.publish.outputs.digest }}
You can’t perform that action at this time.
0 commit comments