diff options
| author | Nathan Ellenfield <nathan.ellenfield@allscripts.com> | 2025-03-14 17:26:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-14 18:26:44 -0300 |
| commit | 10777e9d49a26239a4f737cb4ccbd27276762ee4 (patch) | |
| tree | 6d01e9cff4106ca71eff3330c22dffe657df110c | |
| parent | eb0cc45977b7dc47656c117a9ed34cfd66857912 (diff) | |
| download | AeroCore-OS-10777e9d49a26239a4f737cb4ccbd27276762ee4.tar.gz AeroCore-OS-10777e9d49a26239a4f737cb4ccbd27276762ee4.zip | |
fix: Justfile variable usage and formatting (#65)
Co-authored-by: Tulip Blossom <tulilirockz@outlook.com>
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Justfile | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -1,2 +1,3 @@ cosign.key _build_* +output
\ No newline at end of file @@ -109,7 +109,7 @@ build $target_image=image_name $tag=default_tag $dx="0" $hwe="0" $gdx="0": BUILD_ARGS=() BUILD_ARGS+=("--build-arg" "MAJOR_VERSION=${centos_version}") - BUILD_ARGS+=("--build-arg" "IMAGE_NAME=${image_name}") + BUILD_ARGS+=("--build-arg" "IMAGE_NAME=${target_image}") BUILD_ARGS+=("--build-arg" "IMAGE_VENDOR=${repo_organization}") BUILD_ARGS+=("--build-arg" "ENABLE_DX=${dx}") BUILD_ARGS+=("--build-arg" "ENABLE_HWE=${hwe}") @@ -188,16 +188,16 @@ _build-bib $target_image $tag $type $config: (_rootful_load_image target_image t echo "Cleaning up previous build" if [[ $type == iso ]]; then - sudo rm -rf "output/bootiso" || true + sudo rm -rf "output/bootiso" || true else - sudo rm -rf "output/${type}" || true + sudo rm -rf "output/${type}" || true fi args="--type ${type} " args+="--use-librepo=True" if [[ $target_image == localhost/* ]]; then - args+=" --local" + args+=" --local" fi sudo podman run \ |
