Skip to content

build-alpine-netboot-image-zfs.yml can pass branch name #164

build-alpine-netboot-image-zfs.yml can pass branch name

build-alpine-netboot-image-zfs.yml can pass branch name #164

Workflow file for this run

name: Qemu
concurrency: qemu
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
push:
branches:
- main
jobs:
Deploy:
environment: testing
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: List files in the repository
run: |
ls -la ${{ github.workspace }}
- name: Install quemu
run: |
set -x
sudo apt-get update
sudo apt-get install -y qemu-system
- name: Run quemu
run: |
set -x
qemu-system-x86_64 -cpu ?
qemu-system-x86_64 -cdrom https://github.com/KarmaComputing/server-bootstrap/releases/latest/download/ipxe.iso -net nic -net user,hostfwd=tcp::2223-:22 -m 3072 -smp $(nproc) -nographic