25 lines
561 B
Markdown
25 lines
561 B
Markdown
|
# pacco-build
|
||
|
Build Container for PKGBUILDs with auto push to pacco.
|
||
|
|
||
|
## Usage
|
||
|
Add the following to your repos `.woodpecker` jobs:
|
||
|
|
||
|
```yml
|
||
|
when:
|
||
|
- event: push
|
||
|
branch: main
|
||
|
|
||
|
steps:
|
||
|
- name: "PKGBUILD"
|
||
|
image: git.hydrar.de/jmarya/pacco-build:latest
|
||
|
commands:
|
||
|
- buildpkg <repo> <arch> <domain> <token> <gpg_key>
|
||
|
```
|
||
|
|
||
|
Where:
|
||
|
- `<repo>`: Name of the repo you want to push to
|
||
|
- `<arch>`: Architecture you are building for
|
||
|
- `<domain>`: Domain of your pacco instance
|
||
|
- `<token>`: Token of your user
|
||
|
- `<gpg_key>`: GPG key used to sign the package
|