This commit is contained in:
parent
b33439656a
commit
ad2ae9b95e
8 changed files with 696 additions and 15 deletions
21
README.md
21
README.md
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue