mirror of https://github.com/docker/compose.git
Readd event
Signed-off-by: Alex Bedo <alex98hun@gmail.com>
This commit is contained in:
parent
918b508bd5
commit
cc09f39f29
|
@ -85,6 +85,11 @@ func (s *composeService) publish(ctx context.Context, project *types.Project, re
|
||||||
if !s.dryRun {
|
if !s.dryRun {
|
||||||
err = ocipush.PushManifest(ctx, resolver, named, layers, options.OCIVersion)
|
err = ocipush.PushManifest(ctx, resolver, named, layers, options.OCIVersion)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
w.Event(progress.Event{
|
||||||
|
ID: repository,
|
||||||
|
Text: "publishing",
|
||||||
|
Status: progress.Error,
|
||||||
|
})
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue