fix(ci): without token
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-08-04 18:36:03 +02:00
parent c08918ad6f
commit 19dd0ff636
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -306,12 +306,6 @@ mod please_release {
std::env::var("CUDDLE_PLEASE_TOKEN")? std::env::var("CUDDLE_PLEASE_TOKEN")?
), ),
]) ])
.with_exec(vec![
"git",
"config",
"http.extraheader",
"'Authorization: token b52c18cab8a95d33f34b0d081440f77a2b156886'",
])
.with_exec(vec![ .with_exec(vec![
"cuddle-please", "cuddle-please",
"release", "release",
@ -605,6 +599,7 @@ pub async fn get_base_debian_image(
"pkg-config", "pkg-config",
"openssl", "openssl",
"git", "git",
"jq",
]); ]);
Ok(base_image) Ok(base_image)
@ -725,7 +720,9 @@ pub async fn base_rust_image(
.as_ref() .as_ref()
.unwrap_or(&"rustlang/rust:nightly".into()), .unwrap_or(&"rustlang/rust:nightly".into()),
) )
.with_exec(vec!["rustup", "target", "add", rust_target]); .with_exec(vec!["rustup", "target", "add", rust_target])
.with_exec(vec!["apt", "update"])
.with_exec(vec!["apt", "install", "-y", "jq"]);
let target_cache = client.cache_volume(format!("rust_target_{}", profile)); let target_cache = client.cache_volume(format!("rust_target_{}", profile));
let mut build_options = vec!["cargo", "build", "--target", rust_target, "-p", bin_name]; let mut build_options = vec!["cargo", "build", "--target", rust_target, "-p", bin_name];