diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..70fc991 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +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' + diff --git a/README.md b/README.md index ea1df71..0c9c687 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Maru OS Container Blueprints -[![Build Status](https://travis-ci.org/maruos/blueprints.svg?branch=master)](https://travis-ci.org/maruos/blueprints) +![CI workflow](https://github.com/maruos/blueprints/actions/workflows/ci.yml/badge.svg) Container image builder for Maru OS.