From b2af6b17926300cf4c278c4fbaa3b5a97906c7e8 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Sun, 30 Nov 2025 15:05:59 -0500 Subject: [PATCH] Use action_path to add entrypoint --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 80febf5..562beed 100644 --- a/action.yml +++ b/action.yml @@ -20,11 +20,12 @@ runs: shell: bash env: SPEC_FILE_PATH: ${{ inputs.spec-file-path }} + ACTION_ROOT: ${{ gitea.action_path }} run: | SPEC_FILE_NAME=$(basename ${SPEC_FILE_PATH}) podman run --rm \ -v ./rpmbuild:/root/rpmbuild:rw,z \ - -v ./entrypoint.sh:/root/entrypoint.sh:ro,z \ + -v ${ACTION_ROOT}/entrypoint.sh:/root/entrypoint.sh:ro,z \ -w /root \ fedora:latest \ /root/entrypoint.sh /root/rpmbuild/SPECS/${SPEC_FILE_NAME}