kuju63 / kuju63/github-runner

bug: failed to set disable_auto_update option

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

disable_auto_update option does not work.

**To Reproduce**

1. run container

```
docker run -it -e token="******" -e owner="kuju63" -e repo_name="github-runner" -e runner_name="sample" -e disable_auto_update="1" github-runner:latest
```

but error occurred.

```
Unrecognized command-line input arguments for command run: 'disableupdate'. For usage refer to: .\config.cmd --help or ./config.sh --help
An error occurred: Not configured. Run config.(sh/cmd) to configure the runner.
```

**Expected behavior**

Error does not be occurred.

**Runtime environment (please complete the following information):**

- Container runtime: Docker
- Version: 0.5.4
- GitHub: GitHub.com
- GitHub Version (GitHub Enterprise Server only): [e.g. 3.0.4]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Docker run command and the disable_auto_update option, then inspect how the container passes options to config.sh or config.cmd. Reproduce the issue with the provided command and confirm that configuration completes without the disableupdate argument error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions, shell
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.