fix secret name
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
972a2c2314
commit
bb1237f9ad
|
@ -251,7 +251,8 @@ def download(snapshot, path, volumes, secrets):
|
|||
path = f[ 'path' ]
|
||||
if SERVICE in path and f['type'] == 'file':
|
||||
secret = dump(snapshot, path).decode()
|
||||
secrets[path.removeprefix(SERVICE)] = secret
|
||||
secret_name = path.removeprefix(f'{SECRET_PATH}{SERVICE}_')
|
||||
secrets[secret_name] = secret
|
||||
with open(filename, "w") as file:
|
||||
json.dump(secrets, file)
|
||||
print(filename)
|
||||
|
|
Loading…
Reference in New Issue