From: Daniel Wagner Date: Thu, 31 Aug 2023 07:37:19 +0000 (+0200) Subject: build: use debian container for release-python build X-Git-Tag: v1.6~37 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d36f3e5560e25aac8372e08170abe068fbfec034;p=users%2Fsagi%2Flibnvme.git build: use debian container for release-python build The build keeps failing because the dependencies can't be installed. Let's use the prebuild container for this as well. Signed-off-by: Daniel Wagner --- diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 86dc0de1..d9051c96 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -15,12 +15,14 @@ jobs: build_sdist: name: Build source distribution runs-on: ubuntu-latest + container: + image: ghcr.io/igaw/linux-nvme/debian.python:0.34 steps: - - name: install libraries - run: sudo apt-get install gcc pkg-config libjson-c-dev libssl-dev python3-dev - - uses: actions/checkout@v3 + - name: Allow workspace + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Build sdist run: pipx run build --sdist