如何将GitLab CI与定制的Docker镜像配合使用?

我做了一个简单的Dockerfile

 FROM openjdk EXPOSE 8080 

并使用以下内容构build图像:

 docker build -t test . 

我安装并configuration了一个docker GitLab CI runner,现在我想用我的test映像来使用这个runner。 所以我写了下面的.gitlab-ci.yml文件:

 image: test run: script: - echo "Hello world!" 

但令我失望的是,没有find我可以在我的机器上使用的本地test映像。

 Running with gitlab-ci-multi-runner 9.4.2 (6d06f2e) on martin-docker-rawip (70747a61) Using Docker executor with image test ... Using docker image sha256:fa91c6ea64ce4b9b44672c6e56eed8312d0ec2afc80730cbee7754bc448ea22b for predefined container... Pulling docker image test ... ERROR: Job failed: Error response from daemon: repository test not found: does not exist or no pull access 

我甚至不知道发生了什么事情。 我怎样才能让跑步者意识到我制作的这个形象?