Improve SecretStore integration with new method

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau
2021-09-01 21:46:56 +02:00
parent eabf1b52e5
commit cf13257b10
2 changed files with 7 additions and 3 deletions

View File

@@ -664,7 +664,7 @@ func (p *Pipeline) DockerLogin(ctx context.Context, op *compiler.Value, st llb.S
if err != nil {
return st, err
}
secretBytes, err := p.s.GetOptions().SecretsStore.Store.GetSecret(ctx, id)
secretBytes, err := p.s.GetOptions().SecretsStore.GetSecret(ctx, id)
if err != nil {
return st, err
}