From 0903088d17ea8ccfbfdc3a0db107d666dd63219b Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Wed, 7 Dec 2022 20:11:53 +0100 Subject: [PATCH] fixed Permission error --- .woodpecker.yml | 5 +++-- README.org | 2 ++ build.sh | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 11553e3..787bd5b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -8,7 +8,8 @@ pipeline: - 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 - - echo '$PACKAGE_SIGNATURE' > $PWD/.comcloudway@ccw.icu.rsa - - doas su -c "echo 'PACKAGER_PRIVKEY=$PWD/.comcloudway@ccw.icu.rsa' >> /etc/abuild.conf" + - 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 $USER $PWD - ./build.sh all secrets: [ package_signature ] diff --git a/README.org b/README.org index 244c9ac..5294a60 100644 --- a/README.org +++ b/README.org @@ -21,6 +21,8 @@ Instructions for doing so can be found in the next chapter. In case I ever publish prebuild binaries: you can find my public key [[./comcloudway@ccw.icu.rsa.pub][here]]. +[[https://ci.ccw.icu/api/badges/comcloudway/ccw-aports/status.svg]] + ** Building packages using the APKBUILDs Before you start building the packages, you have to setup your developement environment. diff --git a/build.sh b/build.sh index 42abcb6..97b7e50 100755 --- a/build.sh +++ b/build.sh @@ -1,7 +1,7 @@ #!/bin/sh # Needs: fd, bash, abuild, dateutils -set -eu +set -eu -o pipefail # Build a specific package # Arg 1: the repo path (e.g. broken, main or testing) -- 2.38.5