✨ ci
This commit is contained in:
parent
40a2216da3
commit
d8a1add420
2 changed files with 15 additions and 7 deletions
|
@ -1,15 +1,23 @@
|
||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: ${platform}
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "PKGBUILD"
|
- name: "PKGBUILD"
|
||||||
image: git.hydrar.de/jmarya/pacco-build:latest
|
image: git.hydrar.de/jmarya/pacco:latest
|
||||||
commands:
|
commands:
|
||||||
- pacman -Syu --noconfirm
|
- pacco build --ci --push navos
|
||||||
- buildpkg navos x86_64 pac.hydrar.de "$TOKEN" "$KEY"
|
|
||||||
environment:
|
environment:
|
||||||
TOKEN:
|
PACCO_HOST: "https://pac.hydrar.de"
|
||||||
|
PACCO_TOKEN:
|
||||||
from_secret: pacco_token
|
from_secret: pacco_token
|
||||||
KEY:
|
SIGN_KEY:
|
||||||
from_secret: sign_key
|
from_secret: sign_key
|
2
PKGBUILD
2
PKGBUILD
|
@ -3,7 +3,7 @@ pkgname=csnap
|
||||||
pkgver=main
|
pkgver=main
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="CephFS snapshot utility"
|
pkgdesc="CephFS snapshot utility"
|
||||||
arch=('x86_64')
|
arch=('x86_64' 'aarch64')
|
||||||
url="https://git.hydrar.de/jmarya/csnap"
|
url="https://git.hydrar.de/jmarya/csnap"
|
||||||
license=("MIT")
|
license=("MIT")
|
||||||
depends=()
|
depends=()
|
||||||
|
|
Loading…
Add table
Reference in a new issue