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

https://github.com/mudler/poco-github-action

Github action for poco app bundler
https://github.com/mudler/poco-github-action

Last synced: 2 months ago
JSON representation

Github action for poco app bundler

Awesome Lists containing this project

README

        

# poco-github-action
Github action for [poco](https://github.com/mudler/poco)

## Usage

It takes the same arguments as of poco, given you have a Dockerfile in the root of your repo:

```yaml
- name: Check out repository
uses: actions/checkout@v2
- name: Build
run: |
docker build -t example ./
- name: Build a static binary out of it!
uses: mudler/poco-github-action@main
with:
appDescription: "foo"
appName: "bar"
image: "example"
directory: "./dir" # optional, to bundle from a dir
appEntrypoint: "/usr/bin/wget"
output: "./wget"
appMounts: "/etc/resolv.conf,/home"
appStore: "$HOME/.store"
```

For a complete example, check out the [test](https://github.com/mudler/poco-github-action/blob/main/.github/workflows/test.yml) workflow