title: GitLab-CI get pom version in pipeline
body: <p>I'd like to build docker image via gitlab CI with project's version as a tag:</p>
  
  <pre><code>docker build -t dockerimage:VERSION-IN-POM .
  </code></pre>
  
  <p>In jenkins' pipeline i'm getting the version like that: </p>
  
  <pre><code>${pom.version}
  </code></pre>
  
  <p>Is it possible to read the version in a similar, convenient way from gitlab CI? Or do I have to write scripts for that?</p>