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
- Host: GitHub
- URL: https://github.com/mudler/poco-github-action
- Owner: mudler
- License: apache-2.0
- Created: 2022-04-06T21:35:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-16T21:06:16.000Z (about 3 years ago)
- Last Synced: 2025-03-03T08:43:01.520Z (3 months ago)
- Language: Go
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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