1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

fix descriptions

This commit is contained in:
Jason Nagin 2024-06-11 11:49:22 -04:00 committed by GitHub
parent da07f96920
commit 345492fd79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 10 deletions

View file

@ -56,7 +56,7 @@ The following variables can be used to customize the created ISO.
| image_name | Name of the source container image | base | :white_check_mark: | :white_check_mark: |
| image_repo | Repository containing the source container image | quay.io/fedora-ostree-desktops | :white_check_mark: | :white_check_mark: |
| image_signed | Whether the container image is signed. The policy to test the signing must be configured inside the container image | true | :white_check_mark: | :white_check_mark: |
| image_src | Overrides the source of the container image. Must be formatted for the skopeo copy command | docker://*IMAGE_REPO*/*IMAGE_NAME*:*IMAGE_TAG* | :white_check_mark: | :white_check_mark: |
| image_src | Overrides the source of the container image. Must be formatted for the skopeo copy command | \[empty\] | :white_check_mark: | :white_check_mark: |
| image_tag | Tag of the source container image | *VERSION* | :white_check_mark: | :white_check_mark: |
| iso_name | Name of the ISO you wish to output when completed | build/deploy.iso | :white_check_mark: | :white_check_mark: |
| make_target | Overrides the default make target | *ISO_NAME*-Checksum | :white_check_mark: | :x: |

View file

@ -29,26 +29,26 @@ inputs:
required: false
default: "true"
enrollment_password:
description: Used for supporting secure boot (requires secure_boot_key_url to be defined)
description: Used for supporting secure boot (requires SECURE_BOOT_KEY_URL to be defined)
required: false
default: "container-installer"
extra_boot_params:
description: Extra params used by grub to boot the anaconda installer
required: false
flatpak_remote_name:
description: Name of the Flatpak remote repo
description: Name of the Flatpak repo on the destination OS
required: false
default: "flathub"
flatpak_remote_refs:
description: Space delimited list of refs to the flatpak packages to install
description: Space separated list of flatpak refs to install
required: false
default: ""
flatpak_remote_refs_dir:
description: Directory that contains files that list the flatpak refs to install relative to the github workspace
description: Directory that contains files that list the flatpak refs to install
required: false
default: ""
flatpak_remote_url:
description: The URL of the Flatpak remote flatpakrepo file
description: URL of the flatpakrepo file
required: false
default: https://flathub.org/repo/flathub.flatpakrepo
image_name:
@ -67,14 +67,14 @@ inputs:
description: Overrides the source of the container image. Must be formatted for the skopeo copy command
required: false
image_tag:
description: Tag of the source container image. Defaults to the installer version
description: Tag of the source container image
required: false
iso_name:
description: "Name of the resulting ISO. Relative paths are relative to github.workspace"
description: Name of the ISO you wish to output when completed
required: false
default: build/deploy.iso
make_target:
description: "Overrides the default make target"
description: Overrides the default make target
required: false
repos:
description: List of repo files for Lorax to use

View file

@ -97,7 +97,7 @@ for line in readme_lines:
errors += 1
continue
if 'description' in inputs[var_name]:
if parts[2].strip() != inputs[var_name]['description']:
if parts[2].strip().strip('\*') != inputs[var_name]['description']:
print("WARNING: " + var_name + " description in README.md does not match action.yml")
if 'default_value' in inputs[var_name]:
if not parts[3].strip().strip('"<>').startswith('*'):