Hi Simon, followed your advice to edit the script and then compile my own image of zap and use that.
Was able to do a workaround but it's really odd and don't really know what's the cause of that yet.
Just want to answer here in case anybody encounter a similar issue.
Action logs:
2022-10-27 15:57:08,121 Params: ['zap-x.sh', '-daemon', '-port', '34985', '-host', '0.0.0.0', '-config', 'database.recoverylog=false', '-config', 'api.disablekey=true', '-config', '
api.addrs.addr.name=.*', '-config', 'api.addrs.addr.regex=true', '-config', 'spider.maxDuration=1', '-addonupdate', '-addoninstall', 'pscanrulesBeta']
2022-10-27 15:57:08,123 Failed to start ZAP :( modified
2022-10-27 15:57:08,123 [Errno 2] No such file or directory: 'zap-x.sh'
Action logs:
2022-10-27 15:57:07,877 Starting ZAP
After this change Ran the action again and now I was able to run it successfully.
Seems that there's something happening with this particular setup on the github action where is not able to find the shell script using only zap-x.sh while running the same exact base image as just a docker script it's able to find it successfully even tho the location is still the same for both /zap/zap-x.sh
Thanks again for the help, and if i can find what is really causing this path issue, im going to post another update and do a PR if there's anything to fix.