Skip to content

Commit

Permalink
Adds tool to create host images.
Browse files Browse the repository at this point in the history
  • Loading branch information
ser-io committed Jan 12, 2024
1 parent c36c5e8 commit c9789c7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Export Artifacts

on: [pull_request, push]

jobs:
build:
runs-on: ubuntu-latest
container:
image: debian@sha256:6a8bad8d20e1ca5ecbb7a314e51df6fca73fcce19af2778550671bdd1cbe7b43 # aka stable-20211011
steps:
- name: setup apt
run: apt update -y && apt upgrade -y
- name: Checkout repository
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
- name: Build host image
run: bash tools/makeimage/make.sh
8 changes: 8 additions & 0 deletions tools/makeimage/make.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

echo "Hello World"

eval $(grep VERSION_CODENAME /etc/os-release)

echo ${VERSION_CODENAME}

0 comments on commit c9789c7

Please sign in to comment.