highscore-server/docker-bake.hcl

18 lines
302 B
HCL
Raw Normal View History

2023-01-09 22:00:00 +01:00
variable "REG" {
2023-02-02 14:15:17 +01:00
default = "git.snrd.eu"
2023-01-09 22:00:00 +01:00
}
variable "REPO" {
2023-02-02 14:15:17 +01:00
default = "sunred/highscore-server"
2023-01-09 22:00:00 +01:00
}
variable "TAG" {
2023-02-02 14:15:17 +01:00
default = "latest"
2023-01-09 22:00:00 +01:00
}
group "default" {
2023-02-02 14:15:17 +01:00
targets = ["production"]
2023-01-09 22:00:00 +01:00
}
target "production" {
2023-02-02 14:15:17 +01:00
output = ["type=docker"]
tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"]
2023-01-09 22:00:00 +01:00
}