gitlab runner container entrypoint does not take effect

Hi,

Thanks in advance for your time and patience to answer this question. I need to run some yocto builds using gitlab with a modification entrypoint based on the container here: https://github.com/crops/poky-container/blob/master/Dockerfile

If I build below container as test-yocto:latest:

From crops/poky:ubuntu-22.04
ENTRYPOINT ["/usr/bin/distro-entry.sh", "/usr/bin/dumb-init", "--", "/usr/bin/poky-entry.py", "--id", "999:999"]

and use this container in .gitlab-ci.yaml as below I can achieve my goal.

variables:
    FF_KUBERNETES_HONOR_ENTRYPOINT: 1
image:
    name: test-yocto:latest

However, using below directly in gitlab does not work:

image:
    name: crops/poky:ubuntu-22.04
    entrypoint: ["/usr/bin/distro-entry.sh", "/usr/bin/dumb-init", "--", "/usr/bin/poky-entry.py", "--id", "999:999"]

Could anyone kindly help me to figure out why? Thanks very much!