From 498bc556e28cfecd2cb7a9319c341ceb8089bff9 Mon Sep 17 00:00:00 2001 From: Cyano Hao Date: Wed, 6 Mar 2024 17:33:13 +0800 Subject: [PATCH] workaround chmod failures in containerized CI build (#236) --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca56054d..6bc636dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -259,7 +259,7 @@ jobs: - name: Build run: | - podman run --rm -e SOURCE_DIR=/src -v $GITHUB_WORKSPACE:/src --platform linux/amd64 docker.io/amd64/archlinux:latest /src/packages/archlinux/01-in-docker.sh + podman run --security-opt seccomp=unconfined --rm -e SOURCE_DIR=/src -v $GITHUB_WORKSPACE:/src --platform linux/amd64 docker.io/amd64/archlinux:latest /src/packages/archlinux/01-in-docker.sh - name: Upload uses: actions/upload-artifact@v2 @@ -282,7 +282,7 @@ jobs: - name: Build run: | - podman run --rm -e SOURCE_DIR=/src -v $GITHUB_WORKSPACE:/src --platform linux/amd64 docker.io/amd64/fedora:latest /src/packages/fedora/01-in-docker.sh + podman run --security-opt seccomp=unconfined --rm -e SOURCE_DIR=/src -v $GITHUB_WORKSPACE:/src --platform linux/amd64 docker.io/amd64/fedora:latest /src/packages/fedora/01-in-docker.sh - name: Upload uses: actions/upload-artifact@v2 @@ -293,7 +293,6 @@ jobs: rpm_opensuse: name: RPM on openSUSE Tumbleweed runs-on: ubuntu-latest - if: false steps: - uses: actions/checkout@v2 @@ -306,7 +305,7 @@ jobs: - name: Build run: | - podman run --rm -e SOURCE_DIR=/src -v $GITHUB_WORKSPACE:/src --platform linux/amd64 docker.io/opensuse/tumbleweed:latest /src/packages/opensuse/01-in-docker.sh + podman run --security-opt seccomp=unconfined --rm -e SOURCE_DIR=/src -v $GITHUB_WORKSPACE:/src --platform linux/amd64 docker.io/opensuse/tumbleweed:latest /src/packages/opensuse/01-in-docker.sh - name: Upload uses: actions/upload-artifact@v2