Windows [TP4] Fix push to not kill daemon
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 7e5e29e415f20eeb75f548ec9c5a2b5c38403600 Component: engine
This commit is contained in:
@@ -135,6 +135,11 @@ func (p *v2Pusher) pushV2Tag(tag string) error {
|
||||
break
|
||||
}
|
||||
|
||||
// Skip the base layer on Windows. This cannot be pushed.
|
||||
if allowBaseParentImage && layer.Parent == "" {
|
||||
break
|
||||
}
|
||||
|
||||
logrus.Debugf("Pushing layer: %s", layer.ID)
|
||||
|
||||
if layer.Config != nil && metadata.Image != layer.ID {
|
||||
|
||||
Reference in New Issue
Block a user