Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
c391482874
commit
0f7ed2b6f4
@ -102,6 +102,8 @@ steps:
|
||||
CUDDLE_SECRETS_PROVIDER: 1password
|
||||
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
|
||||
CUDDLE_SSH_AGENT: "true"
|
||||
GIT_PASSWORD:
|
||||
from_secret: gitea_token
|
||||
CI_PREFIX: "/mnt/ci/ci"
|
||||
CUDDLE_PLEASE_TOKEN:
|
||||
from_secret: cuddle_please_token
|
||||
@ -167,4 +169,4 @@ volumes:
|
||||
- name: dockersock
|
||||
temp: {}
|
||||
- name: ci
|
||||
temp: {}
|
||||
temp: {}
|
||||
|
@ -344,8 +344,11 @@ impl MainAction for RustService {
|
||||
self.client
|
||||
.container()
|
||||
.from(update_deployments_docker_image)
|
||||
.with_env_variable("GIT_USERNAME", "kjuulh")
|
||||
.with_env_variable("GIT_PASSWORD", std::env::var("GIT_PASSWORD").unwrap())
|
||||
.with_env_variable("GIT_USERNAME", "git")
|
||||
.with_env_variable(
|
||||
"GIT_PASSWORD",
|
||||
std::env::var("GIT_PASSWORD").expect("GIT_PASSWORD to be set"),
|
||||
)
|
||||
.with_exec(vec![
|
||||
"update-deployment",
|
||||
"--repo",
|
||||
|
Loading…
Reference in New Issue
Block a user