From 0f2be8329c556bae755fabdbde86ff861d72cd3b Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Sat, 25 Feb 2023 17:08:47 +0100 Subject: [PATCH] Split pipeline into arm64 and amd64 --- .woodpecker.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d0fd194..2332814 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,7 +1,7 @@ -platform: linux/amd64 pipeline: - build: + build-amd64: image: alpine:edge + group: build commands: - apk update - apk add fd bash abuild dateutils @@ -12,3 +12,20 @@ pipeline: - export ABUILD_FLAGS="$ABUILD_FLAGS -F" - ./build.sh all secrets: [ package_signature ] + when: + platform: linux/amd64 + build-arm64: + group: build + image: alpine:edge + commands: + - apk update + - apk add fd bash abuild dateutils + - mkdir -p $HOME/.abuild + - echo "$PACKAGE_SIGNATURE" > $CI_WORKSPACE/comcloudway@ccw.icu.rsa + - echo "PACKAGER_PRIVKEY=$CI_WORKSPACE/comcloudway@ccw.icu.rsa" >> /root/.abuild/abuild.conf + - cp "$CI_WORKSPACE/comcloudway@ccw.icu.rsa.pub" /etc/apk/keys/ + - export ABUILD_FLAGS="$ABUILD_FLAGS -F" + - ./build.sh all + secrets: [ package_signature ] + when: + platform: linux/arm64 -- 2.38.5