M .woodpecker.yml => .woodpecker.yml +7 -9
@@ 1,15 1,13 @@
platform: linux/arm64
pipeline:
build:
- image: alpinelinux/alpine-gitlab-ci:latest-aarch64
+ image: alpine:edge
commands:
- - doas sh -c "echo 'http://dl-cdn.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories"
- - doas sh -c "echo 'http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories"
- - doas sh -c "echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories"
- - doas apk update
- - doas apk add fd bash abuild dateutils
- - doas su -c "echo '$PACKAGE_SIGNATURE' > $PWD/comcloudway@ccw.icu.rsa"
- - doas su -c "echo 'PACKAGER_PRIVKEY=$PWD/comcloudway@ccw.icu.rsa' >> /etc/abuild.conf"
- - doas chown -R root .
+ - echo "$whoami"
+ - apk update
+ - apk add fd bash abuild dateutils
+ - mkdir -p $HOME/.abuild
+ - echo '$PACKAGE_SIGNATURE' > $PWD/comcloudway@ccw.icu.rsa
+ - echo 'PACKAGER_PRIVKEY=$PWD/comcloudway@ccw.icu.rsa' >> $HOME/.abuild/abuild.conf
- ./build.sh all
secrets: [ package_signature ]