Merge pull request #2677 from ijc/linuxkit-pkg

linuxkit pkg: pull the actual tag before build
This commit is contained in:
Justin Cormack 2017-11-03 16:36:09 +00:00 committed by GitHub
commit 3441937b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ func (p Pkg) Build(bos ...BuildOpt) error {
d := newDockerRunner(p.trust, p.cache)
if !bo.force {
ok, err := d.pull(p.Tag() + suffix)
ok, err := d.pull(p.Tag())
if err != nil {
return err
}