Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdDockerBuild = cli.Command{ Name: "build", Aliases: []string{"b"}, Usage: "build container image", Description: `Build container image`, ArgsUsage: "version", Action: RunDockerBuild, Flags: []cli.Flag{ &cli.StringFlag{ Name: "stage", Aliases: []string{"s"}, Value: "", Usage: "select stage to build (multi-stage dockerfile)", Required: false, }, &cli.StringFlag{ Name: "dockerfile", Aliases: []string{"f"}, Value: "./Dockerfile", Usage: "select dockerfile", Required: false, }, &cli.StringFlag{ Name: "opts", Aliases: []string{"o"}, Value: "--compress", Usage: "Additional build options", Required: false, }, }, }
View Source
var CmdDockerFqn = cli.Command{ Name: "fqn", Aliases: []string{"f"}, Usage: "container image fqn", Description: `Get fqn container image defined as main service in config file`, Action: RunDockerFqn, }
View Source
var CmdDockerPush = cli.Command{ Name: "push", Aliases: []string{"p"}, Usage: "push container to registry", Description: `Push container image to container registry`, ArgsUsage: "version", Action: RunDockerPush, }
View Source
var CmdDockerRetag = cli.Command{ Name: "retag", Aliases: []string{"r"}, Usage: "retag container image", Description: `Change container image tag`, ArgsUsage: "fromTag toTag", Action: RunDockerRetag, }
Functions ¶
func RunDockerBuild ¶
func RunDockerBuild(cmd *cli.Context) error
func RunDockerFqn ¶
func RunDockerFqn(cmd *cli.Context) error
func RunDockerPush ¶
func RunDockerPush(cmd *cli.Context) error
func RunDockerRetag ¶
func RunDockerRetag(cmd *cli.Context) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.