'Jib Plugin to push dockerimage to Nexus repository is not working
I have created a file named jib.plugin in my gradle project and applied that file to build.gradle
PFA my jib.gradle file
{
allowInsecureRegistries = true
from {
image = "azul/zulu-openjdk-alpine"
}
to {
image = "repo.<domain>.com/repository/<repository-name>/$project.name" // myprivate hosted nexus repository
auth {
username = "admin"
password = "***********"
}
tags = ['latest']
}
}
Note; I have not enabled any http connector port options in my nexus repository
When I run jib:build, it downloads the image, but it is failing to push the image file I'm getting following error when I do so.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

