mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +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)
|
d := newDockerRunner(p.trust, p.cache)
|
||||||
|
|
||||||
if !bo.force {
|
if !bo.force {
|
||||||
ok, err := d.pull(p.Tag() + suffix)
|
ok, err := d.pull(p.Tag())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user