27 lines
789 B
YAML

name: Build
run-name: ${{ gitea.actor }} is runs ci pipeline
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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: |
gpg --refresh-keys
pacman-key --init && pacman-key --populate
pacman-key --refresh-keys
pacman -Syyu --noconfirm archiso
cd ${{ github.workspace }}
./build
- name: Upload builded iso
uses: actions/upload-artifact@v4
with:
name: images
path: out/