diff --git a/.github/workflows/release-iso.yml b/.github/workflows/release-iso.yml deleted file mode 100644 index c89ea27..0000000 --- a/.github/workflows/release-iso.yml +++ /dev/null @@ -1,46 +0,0 @@ -on: - push: - paths: - - "boot_menu.yml" - - ".github/workflows/release-iso.yml" - workflow_dispatch: - -name: release-iso -jobs: - release-iso: - name: Generate and Release ISOs - runs-on: ubuntu-latest - permissions: - contents: write - container: - image: fedora:39 - options: --privileged - steps: - - uses: actions/checkout@v4 - - name: Generate ISO - uses: ublue-os/isogenerator-old@v2.3.1 - id: isogenerator - with: - image-name: ${{ github.event.repository.name }} - installer-repo: releases - installer-major-version: 39 - boot-menu-path: boot_menu.yml - - name: install github CLI - run: | - sudo dnf install 'dnf-command(config-manager)' -y - sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo - sudo dnf install gh -y - - name: Upload ISO - env: - GITHUB_TOKEN: ${{ github.token }} - run: | - if gh release list -R ${{ github.repository_owner }}/${{ github.event.repository.name }} | grep "auto-iso"; then - gh release view auto-iso -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --json assets -q .assets[].name | xargs --no-run-if-empty -L 1 gh release delete-asset auto-iso -R ${{ github.repository_owner }}/${{ github.event.repository.name }} - gh release upload auto-iso ${{ steps.isogenerator.outputs.iso-path }} -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --clobber - else - gh release create auto-iso ${{ steps.isogenerator.outputs.iso-path }} -t ISO -n "This is an automatically generated ISO release." -R ${{ github.repository_owner }}/${{ github.event.repository.name }} - fi - - name: Upload SHA256SUM - env: - GITHUB_TOKEN: ${{ github.token }} - run: gh release upload auto-iso ${{ steps.isogenerator.outputs.sha256sum-path }} -R ${{ github.repository_owner }}/${{ github.event.repository.name }} --clobber diff --git a/README.md b/README.md index a6720b5..77a436e 100644 --- a/README.md +++ b/README.md @@ -32,16 +32,7 @@ The `latest` tag will automatically point to the latest build. That build will s ## ISO -> **Warning** -> The ISO GitHub Action will be deprecated soon in favor of the new [ublue-os/isogenerator](https://github.com/ublue-os/isogenerator). The Action will then be removed from this template repository and instructions for building ISOs will be on the website. - -This template includes a simple GitHub Action to build and release an ISO of your image. - -To run the action, simply edit the `boot_menu.yml` by changing all the references to startingpoint to your repository. This should trigger the action automatically. - -The Action currently uses [ublue-os/isogenerator-old](https://github.com/ublue-os/isogenerator-old) and works in a similar manner to the official Universal Blue ISO. If you have any issues, you should first check [the documentation page on installation](https://universal-blue.org/installation/). The ISO is a netinstaller and should always pull the latest version of your image. - -Note that this release-iso action is not a replacement for a full-blown release automation like [release-please](https://github.com/googleapis/release-please). +If build on Fedora Atomic, you can generate an offline ISO with the instructions available [here](https://blue-build.org/learn/universal-blue/#fresh-install-from-an-iso). These ISOs cannot unfortunately be distributed on GitHub for free due to large sizes, so for public projects something else has to be used for hosting. ## Verification diff --git a/boot_menu.yml b/boot_menu.yml deleted file mode 100644 index 491b744..0000000 --- a/boot_menu.yml +++ /dev/null @@ -1,5 +0,0 @@ -ublue_variants: - - label: blue-build/template - ks: /kickstart/ublue-os.ks - flavors: - - label: blue-build/template