forked from SunRed/discord-tweeter
Initial commit
This commit is contained in:
commit
eca46fcadd
21 changed files with 1666 additions and 0 deletions
35
docker-bake.hcl
Normal file
35
docker-bake.hcl
Normal file
|
@ -0,0 +1,35 @@
|
|||
variable "REG" {
|
||||
default = "git.snrd.eu"
|
||||
}
|
||||
variable "REPO" {
|
||||
default = "sunred/discord-tweeter"
|
||||
}
|
||||
variable "TAG" {
|
||||
default = "latest"
|
||||
}
|
||||
|
||||
group "default" {
|
||||
targets = ["prod"]
|
||||
}
|
||||
|
||||
target "default" {
|
||||
#platforms = [ "linux/amd64", "linux/arm64", "linux/arm/v7", "linux/riscv64" ]
|
||||
platforms = [ "linux/amd64", "linux/arm64" ]
|
||||
tags = ["${REG}/${REPO}:latest", "${REG}/${REPO}:${TAG}"]
|
||||
attest = [
|
||||
"type=provenance,disabled=true",
|
||||
"type=sbom,disabled=true"
|
||||
]
|
||||
}
|
||||
target "prod" {
|
||||
inherits = ["default"]
|
||||
#dockerfile = "Dockerfile"
|
||||
dockerfile = "Dockerfile.multiarch"
|
||||
output = ["type=registry"]
|
||||
|
||||
}
|
||||
target "dev" {
|
||||
inherits = ["default"]
|
||||
dockerfile = "Dockerfile.multiarch"
|
||||
output = ["type=image"]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue