mirror of https://github.com/archzfs/archzfs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
562 B
26 lines
562 B
4 months ago
|
on:
|
||
|
pull_request:
|
||
|
types: [opened, reopened, synchronize]
|
||
|
paths:
|
||
|
- '**.sh'
|
||
|
- '.github/workflows/**'
|
||
|
- 'build-container/**'
|
||
|
- 'packages/**'
|
||
|
name: Build
|
||
|
|
||
|
permissions:
|
||
|
contents: read
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Build
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v4.2.1
|
||
|
- name: Build builder container
|
||
|
run: docker build -t archzfs-builder build-container
|
||
|
- name: Run builder container
|
||
|
run: docker run --privileged --rm -v "$(pwd):/src" archzfs-builder
|