From d1d9713d80452fdd209eaa65c10d8e5b05b8be51 Mon Sep 17 00:00:00 2001 From: Noel Miller Date: Tue, 5 Mar 2024 14:10:32 -0600 Subject: [PATCH] fix: updated volume and added output_dir to inputs --- Containerfile | 2 +- action.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 57d5e54..8f62034 100644 --- a/Containerfile +++ b/Containerfile @@ -19,7 +19,7 @@ WORKDIR /build-container-installer RUN dnf install -y make && make install-deps -VOLUME /build-container-installer/build +VOLUME ${OUTPUT_DIR} ENTRYPOINT ["/bin/bash", "/build-container-installer/entrypoint.sh"] diff --git a/action.yml b/action.yml index 22914f1..dda21ad 100644 --- a/action.yml +++ b/action.yml @@ -36,6 +36,9 @@ inputs: secure_boot_key_url: description: Secure boot key that is installed from URL location required: false + output_dir: + description: Define a specific output directory + required: false action_version: description: Version of the action container to run deprecationMessage: No longer used. github.action_ref replaces the need for this. Will be removed in a future version. @@ -63,5 +66,6 @@ runs: WEB_UI=${{ inputs.web_ui }} \ ENROLLMENT_PASSWORD=${{ inputs.enrollment_password }} \ SECURE_BOOT_KEY_URL=${{ inputs.secure_boot_key_url }} \ + OUTPUT_DIR=${{ inputs.output_dir }} "ADDITIONAL_TEMPLATES=${{ inputs.additional_templates }}"