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}