@@ 1,20 1,7 @@
+platform: linux/arm64
+
pipeline:
- build-amd64:
- image: alpine:edge
- group: build
- 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/amd64
- build-arm64:
+ build:
group: build
image: alpine:edge
commands:
@@ 24,8 11,7 @@ pipeline:
- 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/
+ - echo "$HOME/packages" >> /etc/apk/repositories
- export ABUILD_FLAGS="$ABUILD_FLAGS -F"
- ./build.sh all
secrets: [ package_signature ]
- when:
- platform: linux/arm64