Closed kwohlfahrt closed 5 months ago
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
Hey @kwohlfahrt,
What version of the hook are you using inside the image?
Our image is based off of ghcr.io/actions/actions-runner:2.312.0
, which is confirmed in the runner logs:
[RUNNER 2024-02-08 14:43:04Z INFO Listener] Runner is built for Linux (X64) - linux-x64.
[RUNNER 2024-02-08 14:43:04Z INFO Listener] RuntimeInformation: Linux 5.15.0-1052-aws actions/actions-runner-controller#57-Ubuntu SMP Mon Jan 15 15:24:00 UTC 2024.
[RUNNER 2024-02-08 14:43:04Z INFO Listener] Version: 2.312.0
[RUNNER 2024-02-08 14:43:04Z INFO Listener] Commit: 1615de2f78ce16935be95ace79d35ed22b0837be
Is this what you mean by the version of the hook? Or is that specified elsewhere?
Can you please try using the 2.313.0 version? The version of the hook included in the 2.313.0 version is 0.5.1, which should have arguments fixed.
Otherwise, since it is based on your image, could you please change the hook version in your dockerfile to 0.5.1 and let us know if the issue persists?
I will transfer this issue to the hook repo, since ARC is not in charge of arguments passed to the container hook. Please let us know if the issue is resolved with the new hook version :relaxed:
I've rebuilt our image on top of 2.313.0
, and it now seems to work as expected - the image step in question succeeds, and all of the quoting looks correct with kubectl get pods -o yaml
.
Thank you!
Checks
Controller Version
0.8.1
Deployment Method
Helm
Checks
To Reproduce
Describe the bug
The arguments of the container for the docker step are quoted incorrectly:
Note both that the
--files
option is double-quoted, and the final option"80 100"
seems to be incorrectly split. The original argument definition is here in the action.This causes the container to error with
Required option 'files' is missing.
(see logs below), because the argument is passed as"--files"
, not--files
.Describe the expected behavior
I expect the args to be passed correctly as strings, specifically all arguments apart from the last two should have one less level of quoting, and the last two arguments should either be two arguments, or be a single string
80 100
.This action worked correctly on the summerwind runner.
Additional Context
For the actions runner system:
For the actions runner itself:
Controller Logs
Runner Pod Logs