I made a simple Dockerfile:
FROM openjdk EXPOSE 8080 and built an image using:
docker build -t test . I installed and configured a docker GitLab CI runner and now I would like to use this runner with my test image. So I wrote the following .gitlab-ci.yml file:
image: test run: script: - echo "Hello world!" But to my disappointment, the local test image that I can use on my machine was not found.
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 I do not even know what is going on anymore. How can I make the runner aware of this image that I made?
gitlab-ci.ymland the process is triggered automatically.