diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 2a581a7..2791693 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -1,16 +1,23 @@ +matrix: + platform: + - linux/amd64 + - linux/arm64 + +labels: + platform: ${platform} + when: - event: push branch: main steps: - name: "PKGBUILD" - image: git.hydrar.de/jmarya/pacco-build:latest + image: git.hydrar.de/jmarya/pacco:latest commands: - - pacman -Syu --noconfirm - - buildpkg navos x86_64 pac.hydrar.de "$TOKEN" "$KEY" + - pacco build --ci --push navos environment: - TOKEN: + PACCO_HOST: "https://pac.hydrar.de" + PACCO_TOKEN: from_secret: pacco_token - KEY: + SIGN_KEY: from_secret: sign_key - diff --git a/Cargo.toml b/Cargo.toml index 0dac135..5c31dc0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,10 @@ name = "bk" version = "0.1.0" edition = "2024" +[[bin]] +name = "bk" +path = "src/main.rs" + [dependencies] chrono = "0.4.39" serde = { version = "1.0.217", features = ["derive"] }