Merge pull request #30 from utzcoz/enable-github-actions-dependabot #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |