Skip to content

Commit

Permalink
Bring back mistakenly removed uber-jar support in jib
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Jun 17, 2020
1 parent 544c799 commit f1ee17c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ public void buildFromJar(ContainerImageConfig containerImageConfig, JibConfig ji
JibContainerBuilder jibContainerBuilder;
String packageType = packageConfig.type;
if (packageType.equalsIgnoreCase(PackageConfig.LEGACY)
|| packageType.equalsIgnoreCase(PackageConfig.JAR)) {
|| packageType.equalsIgnoreCase(PackageConfig.JAR)
|| packageType.equalsIgnoreCase(PackageConfig.UBER_JAR)) {
jibContainerBuilder = createContainerBuilderFromLegacyJar(jibConfig,
sourceJar, outputTarget, mainClass, containerImageLabels);
} else if (packageType.equalsIgnoreCase(PackageConfig.FAST_JAR)) {
Expand Down

0 comments on commit f1ee17c

Please sign in to comment.