Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 281
Isengo Avatar asked Apr 17 '18 09:04

Isengo


1 Answers

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

like image 52
rpadovani Avatar answered Sep 30 '22 02:09

rpadovani