-
Notifications
You must be signed in to change notification settings - Fork 12
26 lines (24 loc) · 931 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: 'CI'
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v4
- name: Build CI container
run: 'docker build -t maruos/blueprints/ci --file Dockerfile.aarch64 .'
- name: Build Debian Buster arm64 minimal
run: 'docker run --privileged --rm -v /var/cache:/var/cache -v "$(pwd)":/var/maru -i maruos/blueprints/ci -b debian -n buster-container -- -r buster -a arm64 --minimal'
- name: Build Debian Buster arm64
run: 'docker run --privileged --rm -v /var/cache:/var/cache -v "$(pwd)":/var/maru -i maruos/blueprints/ci -b debian -n buster-container -- -r buster -a arm64'
- name: Upload generated rootfs tarball
if: always()
uses: actions/upload-artifact@v3
with:
name: buster-container-arm64
path: out/*.tar.gz