From 20c9239fe52943a30d63ca0e0b42d5673a84af57 Mon Sep 17 00:00:00 2001 From: Javier Rodriguez Date: Fri, 5 Jun 2026 12:01:57 +0200 Subject: [PATCH] Revert 'feat(dagger): expose --mark-latest flag on attestation init' Signed-off-by: Javier Rodriguez --- extras/dagger/main.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/extras/dagger/main.go b/extras/dagger/main.go index 795dd1e94..639ada919 100644 --- a/extras/dagger/main.go +++ b/extras/dagger/main.go @@ -156,10 +156,6 @@ func (m *Chainloop) Init( // mark the version as release // +optional release bool, - // Explicitly mark the project version as latest (use =false to skip promotion). - // When unset, the server decides automatically (defaults to latest for new versions). - // +optional - markLatest *bool, // Github event file for PR detection (when running in Github Actions) // +optional githubEventFile *dagger.File, @@ -287,10 +283,6 @@ func (m *Chainloop) Init( ) } - if markLatest != nil { - args = append(args, fmt.Sprintf("--mark-latest=%t", *markLatest)) - } - info, err := att. Container(0). WithExec(args, execOpts).