title: Can’t push to Gitlab registry | Quarkus - Jib build
body: <p>I'm currently developing Quarkus applications and need therefore a CI Pipeline + Container Registry.</p>
  <p>As containerization through docker isn't working (docker daemon - priviliged mode) I want to use Jib, which is already supported by Quarkus.</p>
  <p>Command in Pipeline:</p>
  <pre><code>- mvn clean package 
  -Dquarkus.container-image.push=true 
  -Dquarkus.container-image.registry=&quot;https://$registry&quot; 
  -Dquarkus.container-image.username=$username 
  -Dquarkus.container-image.password=$deployToken 
  -Dquarkus.container-image.name=(group)/(project)
  </code></pre>
  <ul>
  <li>username = deploy token username</li>
  <li>password = deploy token</li>
  </ul>
  <p>The deploy token has all permissions there are, so that should not be the problem.</p>
  <p>I also tried different variants of the command where I added the token in the registry url:</p>
  <ul>
  <li>https://username:token@registry.gitlab.com(group)/(project)</li>
  <li>https://name:token@registry.gitlab.com(group)/(project)</li>
  </ul>
  <p>but in those cases obvious without these params:</p>
  <ul>
  <li>Dquarkus.container-image.username=$username</li>
  <li>Dquarkus.container-image.password=$deployToken</li>
  </ul>
  <p>But I got everytime the same respone:</p>
  <pre><code>Failed to execute goal io.quarkus:quarkus-maven-plugin:1.7.2.Final:build (default) on project (project): 
  Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
  [ERROR]     [error]: Build step io.quarkus.container.image.jib.deployment.JibProcessor#buildFromJar threw an exception: java.lang.IllegalArgumentException: 
  The supplied container-image registry 'https://registry.gitlab.com/(group)/(project)' is invalid
  </code></pre>
  <p>I really hope that somebody has an idea, what is going wrong here.</p>
  <hr />
  <p>In an other project I also used Jib to containerize a spring boot application and push it to the Google Container Registry, which is working when I use the Google SDK in advance.</p>
  <pre><code>- gcloud auth activate-service-account (account-name) --key-file=$gsdk_token
  - gcloud auth configure-docker
  </code></pre>
  <p>Is there maybe a similar approach possible for the Gitlab Registry?</p>