Skip to content

Commit 6a30c11

Browse files
authored
Revert "feat(dagger): expose --mark-latest flag on attestation init (#3165)" (#3166)
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
1 parent 53f50f1 commit 6a30c11

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

extras/dagger/main.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,6 @@ func (m *Chainloop) Init(
156156
// mark the version as release
157157
// +optional
158158
release bool,
159-
// Explicitly mark the project version as latest (use =false to skip promotion).
160-
// When unset, the server decides automatically (defaults to latest for new versions).
161-
// +optional
162-
markLatest *bool,
163159
// Github event file for PR detection (when running in Github Actions)
164160
// +optional
165161
githubEventFile *dagger.File,
@@ -287,10 +283,6 @@ func (m *Chainloop) Init(
287283
)
288284
}
289285

290-
if markLatest != nil {
291-
args = append(args, fmt.Sprintf("--mark-latest=%t", *markLatest))
292-
}
293-
294286
info, err := att.
295287
Container(0).
296288
WithExec(args, execOpts).

0 commit comments

Comments
 (0)