pacco cli
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
JMARyA 2025-04-16 08:19:05 +02:00
parent b33439656a
commit ad2ae9b95e
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
8 changed files with 696 additions and 15 deletions

View file

@ -28,3 +28,24 @@ curl -X POST \
-F "sig=@./<pkg_name>-<version>-<rel>-<arch>.pkg.tar.zst.sig" \
"https://<domain>/pkg/<repo>/upload"
```
### Build with CI
You can add the following as a CI pipeline to automatically build and push a new package version.
```yml
when:
- event: push
branch: main
steps:
- name: "PKGBUILD"
image: git.hydrar.de/jmarya/pacco:latest
commands:
- pacco build --ci --push navos
environment:
PACCO_HOST: "https://pac.hydrar.de"
PACCO_TOKEN:
from_secret: pacco_token
SIGN_KEY:
from_secret: navos_key
```