Update editorconfig & formatting
This commit is contained in:
parent
bfd1d7c5ba
commit
e6f94b8e3b
3 changed files with 18 additions and 8 deletions
|
@ -4,5 +4,15 @@ root = true
|
|||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[{v.mod,*.v}]
|
||||
indent_style = tab
|
||||
tab_width = 4
|
||||
indent_size = 4
|
||||
|
||||
[*.{yml,yaml,hcl,toml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{diff,md}]
|
||||
trim_trailing_whitespace = false
|
||||
|
|
|
@ -5,5 +5,5 @@ redirect = false
|
|||
redirect_url = ""
|
||||
db_path = "./db/app.db"
|
||||
origins = [
|
||||
"*"
|
||||
"*"
|
||||
]
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
variable "REG" {
|
||||
default = "git.snrd.eu"
|
||||
default = "git.snrd.eu"
|
||||
}
|
||||
variable "REPO" {
|
||||
default = "sunred/highscore-server"
|
||||
default = "sunred/highscore-server"
|
||||
}
|
||||
variable "TAG" {
|
||||
default = "latest"
|
||||
default = "latest"
|
||||
}
|
||||
|
||||
group "default" {
|
||||
targets = ["production"]
|
||||
targets = ["production"]
|
||||
}
|
||||
target "production" {
|
||||
output = ["type=docker"]
|
||||
tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"]
|
||||
output = ["type=docker"]
|
||||
tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue