Add secret management to op.#FetchGit
operation to fetch private repository
- Update `op.cue` to support secrets - Update `pipeline.go` to use authTokenSecret & authHeaderSecret Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
committed by
Guillaume de Rouville
parent
1c6d437d2a
commit
d7194f161d
@@ -87,8 +87,8 @@ package op
|
||||
ref: string
|
||||
keepGitDir?: bool
|
||||
// FIXME: the two options are currently ignored until we support buildkit secrets
|
||||
authTokenSecret?: string | bytes
|
||||
authHeaderSecret?: string | bytes
|
||||
authTokenSecret?: _ @dagger(secret)
|
||||
authHeaderSecret?: _ @dagger(secret)
|
||||
}
|
||||
|
||||
#FetchHTTP: {
|
||||
|
Reference in New Issue
Block a user