From e2a73f82381a5e52162fa1533581319be1ea9dbd Mon Sep 17 00:00:00 2001 From: Lukas Plevac Date: Sat, 19 Oct 2024 16:14:44 +0200 Subject: [PATCH] docker archlinux fix --- .gitea/workflows/gitea-ci.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml index 0136d2b..1e3fc0b 100644 --- a/.gitea/workflows/gitea-ci.yaml +++ b/.gitea/workflows/gitea-ci.yaml @@ -6,7 +6,17 @@ jobs: build: runs-on: ubuntu-latest steps: - - run: docker run -it --rm -v .:/iso archlinux "cd /iso && pacman -Syyu --noconfirm archiso && ./build" + - name: Run the build process with Docker + uses: https://github.com/addnab/docker-run-action@v3 + with: + image: archlinux:latest + options: --volumes-from ${{ env.JOB_CONTAINER_NAME }} + run: | + pacman -Syyu --noconfirm archiso + cd ${{ github.workspace }} + ./build + + - name: Upload builded iso - uses: actions/upload-artifact@v4 with: name: images