Isengo
Isengo

Reputation: 2073

Can I use Dockerfiles in .gitlab-ci.yml?

Can I use a DOCKERFILE in my current Repo to be used as Image in the CI process?

REPO ROOT in Gitlab

.gitlab-ci.yml
DOCKERFILE

Upvotes: 5

Views: 7711

Answers (1)

rpadovani
rpadovani

Reputation: 7360

You can build the Docker image with a Gitlab runner, push it to the Gitlab Registry, and then use it in your .gitlab-ci.yml file

Upvotes: 6

Related Questions