~comcloudway/ccw-aports

0f2be8329c556bae755fabdbde86ff861d72cd3b — Jakob Meier 1 year, 8 months ago bf693ac
Split pipeline into arm64 and amd64
1 files changed, 19 insertions(+), 2 deletions(-)

M .woodpecker.yml
M .woodpecker.yml => .woodpecker.yml +19 -2
@@ 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