Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

[REVIEW] Set container name to BUILD_TAG #19

Merged
merged 1 commit into from
Oct 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ private ArgumentListBuilder getlaunchArgs(DockerConfiguration config,
//TODO Set name? Maybe with build.toString().replaceAll("^\\w", "_")
ArgumentListBuilder args = new ArgumentListBuilder()
.add("run", "-t", "-d")
.add("--name", Utils.resolveVariables(this, "$BUILD_TAG"))
.add("--workdir", workspacePath)
//Add bridge network for internet access
.add("--network", "bridge");
Expand Down