mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
linuxkit pkg: pull the actual tag before build
Pulling the arch suffixed version does not provide any assurance that a previous build was actually completed. Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
parent
3ebd621f29
commit
3410e4e988
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user