If you getting
"[: 1: [: Syntax error: end of file unexpected"
in gitlab while executing jobs in under .gitlab-ci.yml
check if your entrypoint.sh of the Docker image you using in this job.
Wrong:
exec $@
Right:
exec "$@"
Source: https://docs.docker.com/engine/reference/builder/#exec-form-entrypoint-example
No comments:
Post a Comment