# 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 ``` Where: - ``: Name of the repo you want to push to - ``: Architecture you are building for - ``: Domain of your pacco instance - ``: Token of your user - ``: GPG key used to sign the package ### Using Secrets You can pass in sensitive values via secrets. ```yml when: - event: push branch: main steps: - name: "PKGBUILD" image: git.hydrar.de/jmarya/pacco-build:latest commands: - buildpkg "$TOKEN" "$KEY" environment: TOKEN: from_secret: pacco_token KEY: from_secret: gpg_key ``` > **Note:** The passed GPG Key needs to be a private key in ASCII Armor and every newline escaped with `\n`