diff --git a/cmd/osbuild-worker/jobimpl-osbuild.go b/cmd/osbuild-worker/jobimpl-osbuild.go index 98b84aaf9..926f7912e 100644 --- a/cmd/osbuild-worker/jobimpl-osbuild.go +++ b/cmd/osbuild-worker/jobimpl-osbuild.go @@ -92,6 +92,11 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error { if err != nil { return err } + + // skip the job if the manifest generation failed + if manifestJR.Error != "" { + return nil + } args.Manifest = manifestJR.Manifest } // copy pipeline info to the result