Skip to content

Commit

Permalink
Merge pull request #25 from maruos/pdsouza-setup-github-actions-ci
Browse files Browse the repository at this point in the history
Set up Github Actions CI
  • Loading branch information
utzcoz authored Oct 11, 2023
2 parents 6ab891a + 37e3918 commit f9d8d8b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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'

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit f9d8d8b

Please sign in to comment.