title: GitLab auto devops: Dockerfile build-args
body: <p>I'm new to GitLab auto-devops feature and I intend to build the project using my own Dockerfile available in the project root.</p>
  
  <p>The problem is, my build is a bit complex and uses multiple build arguments. But, none of the documentation (or the resources I came across) explain how the auto devops would deal with build arguments -- in other words, how I should feed auto-build job with the necessary build arguments to build my docker image.</p>
  
  <p><a href="https://docs.gitlab.com/ee/topics/autodevops/index.html#custom-buildpacks" rel="nofollow noreferrer">https://docs.gitlab.com/ee/topics/autodevops/index.html#custom-buildpacks</a></p>
  
  <p>Or do I've to customise the auto devops .gitlab-ci.yml template to build the image using custom Dockerfile with build arguments?</p>