chore: use file instead
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
27e1c60317
commit
326e4b6fa8
@ -73,6 +73,16 @@ impl cuddle_ci::ReleaseAction for RustReleaser {
|
||||
rust_image
|
||||
.with_workdir("/mnt/src")
|
||||
.with_directory("/mnt/src", src)
|
||||
.with_new_file(
|
||||
"/root/.cargo/credentials",
|
||||
format!(
|
||||
r#"
|
||||
[registry]
|
||||
token = "{}"
|
||||
"#,
|
||||
crates_token
|
||||
),
|
||||
)
|
||||
.with_secret_variable(
|
||||
"CARGO_REGISTRY_TOKEN",
|
||||
self.client.set_secret("CARGO_REGISTRY_TOKEN", crates_token),
|
||||
|
Loading…
Reference in New Issue
Block a user