Tag Docker images created by launch script integration tests
Closes gh-5168
This commit is contained in:
committed by
Andy Wilkinson
parent
b061aa5d7e
commit
2641fe8f26
@@ -243,7 +243,8 @@ public class SysVinitLaunchScriptIT {
|
||||
BuildImageResultCallback resultCallback = new BuildImageResultCallback();
|
||||
String dockerfile = "src/test/resources/conf/" + this.os + "/" + this.version
|
||||
+ "/Dockerfile";
|
||||
docker.buildImageCmd(new File(dockerfile)).exec(resultCallback);
|
||||
String tag = "spring-boot-it/" + this.os.toLowerCase() + ":" + this.version;
|
||||
docker.buildImageCmd(new File(dockerfile)).withTag(tag).exec(resultCallback);
|
||||
String imageId = resultCallback.awaitImageId();
|
||||
return imageId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user