Github action for poco
It takes the same arguments as of poco, given you have a Dockerfile in the root of your repo:
- 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 workflow