chore: sql path in secret
This commit is contained in:
parent
9fdeda9eef
commit
04169418c5
2 changed files with 4 additions and 1 deletions
|
@ -18,8 +18,11 @@ steps:
|
|||
from_secret: sce_secret_key
|
||||
SCW_ACCESS_KEY:
|
||||
from_secret: scw_access_key
|
||||
USERSTORE_SQLITE_PATH:
|
||||
from_secret: userstore_sqlite_path
|
||||
commands:
|
||||
- cd resources/infra
|
||||
- terraform init
|
||||
- sed -i 's@git.keks.cloud/kekskurse/miniauth:latest@git.keks.cloud/kekskurse/miniauth:${CI_COMMIT_SHA}@g' scw-container.tf
|
||||
- sed -i 's@USERSTORE_SQLITE_PATH_SED@${USERSTORE_SQLITE_PATH}@g' scw-container.tf
|
||||
- terraform apply -auto-approve
|
||||
|
|
|
@ -25,6 +25,6 @@ resource "scaleway_container" "main" {
|
|||
"WEB_PUBLIC_REGISTRATION" = "1"
|
||||
}
|
||||
secret_environment_variables = {
|
||||
"key" = "secret"
|
||||
"USERSTORE_SQLITE_PATH" = "USERSTORE_SQLITE_PATH_SED"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue