1 | <?php |
||
21 | class BuildController extends Controller |
||
22 | { |
||
23 | public $defaultAction = 'build'; |
||
24 | |||
25 | /** |
||
26 | * @var string The name of the created image |
||
27 | * If not explicitly set will take its default from module config. |
||
28 | */ |
||
29 | public $image; |
||
30 | |||
31 | /** |
||
32 | * @var string The tag of the created image |
||
33 | * If not explicitly set will take its default from module config. |
||
34 | */ |
||
35 | public $tag; |
||
36 | |||
37 | /** |
||
38 | * @var bool whether to push the image after a successful build. |
||
39 | * If not explicitly set will take its default from module config. |
||
40 | */ |
||
41 | public $push; |
||
42 | |||
43 | /** |
||
44 | * @var Docker |
||
45 | */ |
||
46 | protected $docker; |
||
47 | |||
48 | public function init(): void |
||
56 | |||
57 | public function actionBuild(): void |
||
80 | |||
81 | public function createBuildStream(array $params = []): BuildStream |
||
90 | |||
91 | public function options($actionID) |
||
105 | |||
106 | public function optionAliases() |
||
114 | |||
115 | |||
116 | } |