Skip to content

JasonN3/build-container-installer

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

46786df · Jan 8, 2025

History

93 Commits
May 9, 2024
Feb 28, 2024
Jan 8, 2025
May 10, 2024
Jun 13, 2024
Dec 3, 2024
Jan 2, 2025
Mar 26, 2024
Oct 30, 2024
Oct 30, 2024
Apr 4, 2024
Oct 30, 2024
May 9, 2024
Mar 5, 2024
Apr 4, 2024
Jun 26, 2024
May 9, 2024
Apr 10, 2024
Feb 9, 2024
Aug 4, 2024
Jun 11, 2024
Aug 21, 2024
Jun 11, 2024
Jun 21, 2024
Apr 4, 2024

Repository files navigation

Build status Codacy Badge

Build Container Installer Action

This action is used to generate an ISO for installing an OSTree stored in a container image. This utilizes the anaconda command ostreecontainer, which also supports bootc.

Usage

This action is designed to be called from a GitHub workflow using the following format

- name: Build ISO
  uses: jasonn3/build-container-installer@main
  id: build
  with:
    arch: ${{ env.ARCH}}
    image_name: ${{ env.IMAGE_NAME}}
    image_repo: ${{ env.IMAGE_REPO}}
    image_tag: ${{ env.IMAGE_TAG }}
    version: ${{ env.VERSION }}
    variant: ${{ env.VARIANT }}
    iso_name: ${{ env.IMAGE_NAME }}-${{ env.IMAGE_TAG }}-${{ env.VERSION }}.iso

# This example is for uploading your ISO as a Github artifact. You can do something similar using any cloud storage, so long as you copy the output
- name: Upload ISO as artifact
  id: upload
  uses: actions/upload-artifact@v4
  with:
    name: ${{ steps.build.outputs.iso_name }}
    path: |
      ${{ steps.build.outputs.iso_path }}
      ${{ steps.build.outputs.iso_path }}-CHECKSUM
    if-no-files-found: error
    retention-days: 0
    compression-level: 0

See the Wiki for development and usage information.

Star History

Star History Chart