Skip to content

Commit

Permalink
Merge pull request fermyon#36 from vdice/docs/readme-installation-upd…
Browse files Browse the repository at this point in the history
…ates
  • Loading branch information
radu-matei authored Jul 15, 2024
2 parents 986557d + 0a269de commit 71a947e
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,25 @@ This is a very simple Spin trigger that executes the WASI main function.

The trigger is installed as a Spin plugin. It can be installed from a release or build.

To install from a release, reference a plugin manifest from a [release](https://github.com/fermyon/spin-trigger-command/releases). For example, to install the canary release:
## Install the latest version of the plugin

The latest stable release of the command trigger plugin can be installed like so:

```sh
spin plugins update
spin plugin install trigger-command
```

## Install the canary version of the plugin

The canary release of the command trigger plugin represents the most recent commits on `main` and may not be stable, with some features still in progress.

```sh
spin plugins install --url https://github.com/fermyon/spin-trigger-command/releases/download/canary/trigger-command.json
```

## Install from a local build

Alternatively, use the `spin pluginify` plugin to install from a fresh build. This will use the pluginify manifest (`spin-pluginify.toml`) to package the plugin and proceed to install it:

```sh
Expand Down

0 comments on commit 71a947e

Please sign in to comment.