Skip to content

Commit

Permalink
Add github actions to build liveiso
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrawiec committed Sep 8, 2022
1 parent b090237 commit 4bf0313
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-liveiso.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and release live ISO image
on:
workflow_dispatch:
inputs:
version:
description: 'Release version'
required: true
jobs:
build-liveiso:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Create build environment
uses: docker/build-push-action@v3
with:
tags: debian-gsd:latest
context: ./liveiso
push: false

- name: Run build script
uses: addnab/docker-run-action@v3
with:
image: debian-gsd:latest
options: --privileged -v ${{ github.workspace }}/out:/image/out
run: /image/build.sh

- name: Release
uses: softprops/action-gh-release@v1
with:
name: ${{ inputs.version }}
tag_name: liveiso-${{ inputs.version }}
files: out/debian-gsd-amd64.hybrid.iso
1 change: 1 addition & 0 deletions liveiso/packages.list.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ firmware-linux-nonfree
intel-microcode

# util
bash-completion
arch-install-scripts
btrfs-progs
connman
Expand Down

0 comments on commit 4bf0313

Please sign in to comment.