Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/francois2metz/steampipe-plugin-build-push-action

GitHub action to build and publish steampipe plugins
https://github.com/francois2metz/steampipe-plugin-build-push-action

actions steampipe steampipe-plugin

Last synced: 1 day ago
JSON representation

GitHub action to build and publish steampipe plugins

Awesome Lists containing this project

README

        

# steampipe-plugin-build-push-action

GitHub action to build your [Steampipe][] plugin and push it to GitHub packages.

Your repository should be named `steampipe-plugin-thename`. Once the package has been pushed, you can install with steampipe with: `steampipe plugin install ghcr.io/youruser/thename`.
The config file should reference `plugin = "ghcr.io/youruser/thename"` to work:

```hcl
connection "thename" {
plugin = "ghcr.io/youruser/thename"

....
}
```

## Usage

```yaml
name: Build and Deploy OCI Image

on:
push:
tags:
- 'v*'

jobs:
build:
name: Build and publish
runs-on: ubuntu-latest
steps:
- uses: francois2metz/steampipe-plugin-build-push-action@v0
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
```

## License

MIT

[Steampipe]: https://github.com/turbot/steampipe