fix(ci): with secret

This commit is contained in:
2023-02-18 17:03:37 +01:00
parent f42da8416a
commit 25fb9d4f24
2 changed files with 10 additions and 0 deletions

View File

@@ -137,6 +137,14 @@ fn get_dependencies(client: Arc<Query>) -> Container {
None,
)
.with_env_variable("RUSTC_WRAPPER".into(), "/usr/local/bin/sccache".into())
.with_env_variable(
"AWS_ACCESS_KEY_ID".into(),
std::env::var("AWS_ACCESS_KEY_ID").unwrap_or("".into()),
)
.with_env_variable(
"AWS_SECRET_ACCESS_KEY".into(),
std::env::var("AWS_SECRET_ACCESS_KEY").unwrap_or("".into()),
)
.with_env_variable("SCCACHE_BUCKET".into(), "sccache".into())
.with_env_variable("SCCACHE_REGION".into(), "auto".into())
.with_env_variable(