From cc09f39f29cde759205ebf2adc89640e4dcb9834 Mon Sep 17 00:00:00 2001 From: Alex Bedo Date: Fri, 7 Jun 2024 15:34:51 +0200 Subject: [PATCH] Readd event Signed-off-by: Alex Bedo --- pkg/compose/publish.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/compose/publish.go b/pkg/compose/publish.go index 78f3ea507..3cab72d5b 100644 --- a/pkg/compose/publish.go +++ b/pkg/compose/publish.go @@ -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 } }