mudler / poco-github-action

Github action for poco app bundler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

poco-github-action

Github action for poco

Usage

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

About

Github action for poco app bundler

License:Apache License 2.0


Languages

Language:Go 92.0%Language:Dockerfile 8.0%