Skip to content

Commit d6278f2

Browse files
committed
update signature of method
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
1 parent c4f4e36 commit d6278f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chainloop-demo/dagger/src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type BuildAndRelease struct{}
1414
// - Generate a CycloneDX Software Bill Of Materials using Syft
1515
// - Attest the pieces of evidence (binary, container image, and SBOM) using Chainloop
1616
// https://docs.chainloop.dev/getting-started/attestation-crafting
17-
func (m *BuildAndRelease) BuildAndPublish(ctx context.Context, proj *Directory, chainloopToken, chainloopWorkflowName, chainloopSigningKey, chainloopPassphrase *Secret) (status string, err error) {
17+
func (m *BuildAndRelease) BuildAndPublish(ctx context.Context, proj *Directory, chainloopToken, chainloopWorkflowName string, chainloopSigningKey, chainloopPassphrase *Secret) (status string, err error) {
1818
// Initialize the attestation
1919
attestation := dag.Chainloop().Init(chainloopToken, dagger.ChainloopInitOpts{Repository: proj, WorfklowName: chainloopWorkflowName})
2020
// Force the execution of the init method

0 commit comments

Comments
 (0)