Fix artifacts:public accessiblity parameter
After improvement for artifacts:public was released: !100741 (merged) (merged)
We expect the accessibility parameter to be passed to the artifacts creation service.
The whole artifacts:public feature is broken at the moment, as we are waiting for the parameter from the runner and the runner side is not ready yet.
This MR introduces a fix:
If the parameter is not passed we read artifacts:public attribute from the .gitlab-ci.yml.
Related to https://gitlab.com/gitlab-org/gitlab/-/issues/322454
Edited by Marcel Amirault