From 30f7a119bcef9e651ff252684538848ca318ab4c Mon Sep 17 00:00:00 2001 From: Cyano Hao Date: Fri, 24 May 2024 22:47:24 +0800 Subject: [PATCH] fix alpine linux ci build (#434) --- .github/workflows/build.yml | 2 +- packages/alpine/01-in-docker.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d4a2f3b..186874a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -316,7 +316,7 @@ jobs: - name: Build run: | - podman run --rm -v $PWD:/mnt -w /mnt $IMAGE ./packages/alpine/01-in-docker.sh + podman run --security-opt seccomp=unconfined --rm -v $PWD:/mnt -w /mnt $IMAGE ./packages/alpine/01-in-docker.sh - name: Upload uses: actions/upload-artifact@v2 diff --git a/packages/alpine/01-in-docker.sh b/packages/alpine/01-in-docker.sh index 84abee0b..8d04c63c 100755 --- a/packages/alpine/01-in-docker.sh +++ b/packages/alpine/01-in-docker.sh @@ -8,6 +8,8 @@ then fi apk add alpine-sdk git abuild-keygen -an +# TODO: use `abuild-keygen --install` +cp ~/.abuild/*.pub /etc/apk/keys/ ./packages/alpine/buildapk.sh