Skip to content

Commit

Permalink
Readd event
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Bedo <alex98hun@gmail.com>
  • Loading branch information
Lunal98 authored and ndeloof committed Jun 10, 2024
1 parent 918b508 commit cc09f39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/compose/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ func (s *composeService) publish(ctx context.Context, project *types.Project, re
if !s.dryRun {
err = ocipush.PushManifest(ctx, resolver, named, layers, options.OCIVersion)
if err != nil {
w.Event(progress.Event{
ID: repository,
Text: "publishing",
Status: progress.Error,
})
return err
}
}
Expand Down

0 comments on commit cc09f39

Please sign in to comment.