Closed singh05 closed 1 year ago
Hey @singh05, I've opened pull request #77 which will allow you to configure publishImage
for external registries like GitLab container registry.
DockerImageRegistry.externalRegistry() creates invalid urls for me, as it uses the value "image" as part of the url. Image always contains the localImageName and the imageTag seperated by the invalid character ":".
According to the jib manual and here jib.to.image should not contain any tags, but this plugin sets jib.to.image to fullExternalImageName = externalRegistry.flatMap { it.toImage }.zipWithTag(imageTag)
.
Thanks, merged!
The fix reverted in https://github.com/ktorio/ktor-build-plugins/pull/96 because of the failed tests.
My commit was reverted although it was independent from the failing tests due to upgraded dependencies?
The problem was with the configuration cache. Now it is fixed and will be published in the next release. Sorry for the inconvenience.
How to setup publishing for GitLab container registry? I cant find any example.