support for image pull logs

This commit is contained in:
Brad Rydzewski
2019-10-24 23:36:35 -07:00
parent 4119ac2a6d
commit 1f9a599640
7 changed files with 106 additions and 9 deletions

View File

@@ -266,6 +266,7 @@ func (c *Compiler) Compile(ctx context.Context, args Args) *engine.Spec {
step.Envs = environ.Combine(envs, step.Envs)
step.WorkingDir = full
step.Labels = labels
step.Pull = engine.PullIfNotExists
step.Volumes = append(step.Volumes, mount)
spec.Steps = append(spec.Steps, step)