Skip to content

Commit

Permalink
fix(package): Docker tag should be in lowercase. Fixes #951
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Oct 27, 2022
1 parent 8758b79 commit a5711a2
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -39,6 +39,7 @@
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Map;

import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
Expand Down Expand Up @@ -182,7 +183,7 @@ protected void packageDocker(Distribution distribution,
Path workingDirectory = prepareAssembly(distribution, props, packageDirectory, artifacts);

for (String imageName : docker.getImageNames()) {
imageName = resolveTemplate(imageName, props);
imageName = resolveTemplate(imageName, props).toLowerCase(Locale.ENGLISH);

// command line
Command cmd = createBuildCommand(props, docker);
Expand Down

0 comments on commit a5711a2

Please sign in to comment.