GoogleContainerTools / GoogleContainerTools/jib

Would be nice to have registryMirrors via maven plugin configuration and / or properties like -Djib.from.auth.username

Open
#4,376 1 comment 2 reactions 0 assignees View on GitHub
priority: p2 type: feature request
Dominant language
Java
Stars
14.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin#global-jib-configuration

I try to combine jib-maven-plugin with registry-mirrors in gitlab build / local development.

In this scenario I find the available global-config little bit "unclean".

Maybe something like this improve this:

```

com.google.cloud.tools
jib-maven-plugin


...


....



registry-1.docker.io


gcr.io
mirror.gcr.io


company
cr.company.cloud






```

The with properties similar to -Djib.from.auth.username .. I would like to define the auth stuff:

`-Djib.registryMirror.[id].username and -Djib.registryMirror.[id].password`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.