mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
feat: add source
This commit is contained in:
parent
e66c1eb16d
commit
bb27543e53
@ -104,7 +104,7 @@ func (c *Command) execute(ctx context.Context, r *readline.Readline) error {
|
||||
if err := shell.New(ctx, c.l,
|
||||
"docker", "build",
|
||||
"--build-arg", fmt.Sprintf("TAG=%s", c.cfg.NodeTag),
|
||||
"--build-arg", "SOURCE=.posh/docs",
|
||||
"--build-arg", fmt.Sprintf("SOURCE=%s", c.cfg.SourcePath),
|
||||
"-t", fmt.Sprintf("%s:%s", c.cfg.ImageName, c.cfg.ImageTag),
|
||||
"-f", "-",
|
||||
".",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user