26 lines
721 B
YAML

name: Build
run-name: ${{ gitea.actor }} is runs ci pipeline
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@main
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: archlinux/archlinux:latest
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }} --privileged --rm
run: |
pacman -Syyu --noconfirm archiso
cd ${{ github.workspace }}
./build.sh
- name: Upload builded iso
uses: akkuman/gitea-release-action@v1
with:
files: |-
out/**