Gitlab container images weird issue

Hello,
gitlab-ce 15.5.5

I just realized recently some weird issues with pushing docker images to gitlab container registry…

Just a Dockefile example

FROM registry.access.redhat.com/ubi8/nodejs-14 AS app

LABEL version=“1.0”
LABEL description=“To Do List application builder”

ENV REACT_APP_API_HOST=“”

USER 0

COPY . /tmp/todo-frontend

RUN cd /tmp/todo-frontend &&
npm install &&
npm run build

FROM registry.access.redhat.com/ubi8/nginx-118

LABEL version=“1.0”
LABEL description=“To Do List application front-end”

COPY nginx.conf /etc/nginx/
COPY --from=app /tmp/todo-frontend/build /usr/share/nginx/html

USER nginx
EXPOSE 8080

CMD nginx -g “daemon off;”

podman build -t todo .

now…
podman push --format v2s2 localhost/todo gitlab.docker-containers.local:5005/git-projects/repo/todo

podman push --format v2s1 localhost/todo quay.io/<user>/todo

oc new-app --name todo gitlab.docker-containers.local:5005/git-projects/r
epo/todo -l app=frontend
warning: Cannot check if git requires authentication.
error: local file access failed with: stat gitlab.docker-containers.local:5005/git-projects/repo/todo: no such file or directory
error: unable to locate any images in image streams, templates loaded in accessible projects, template files, local docker images with name “gitlab.docker-containers.local:5005/git-projects/repo/todo”

Argument ‘gitlab.docker-containers.local:5005/git-projects/repo/todo-frontend’ was classified as an image, image~source, or loaded template reference.

However…

oc new-app --name todo quay.io/<user>/todo -l app=fro
ntend
→ Found container image 2ae5c43 (28 minutes old) from quay.io for “Quay

Nginx 1.18
----------