1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-11 11:04:36 +02:00

New docker build mechanism (#2268)

* New docker build mechanism
This commit is contained in:
Bockiii
2021-10-03 16:06:30 +02:00
committed by GitHub
parent 8bcf4ebfbf
commit dacc586dca
7 changed files with 84 additions and 74 deletions

23
docker-bake.hcl Normal file
View File

@@ -0,0 +1,23 @@
target "docker-metadata-action" {}
group "default" {
targets = ["image-local"]
}
target "image" {
inherits = ["docker-metadata-action"]
}
target "image-local" {
inherits = ["image"]
output = ["type=docker"]
}
target "image-all" {
inherits = ["image"]
platforms = [
"linux/amd64",
"linux/arm64",
"linux/arm/v7"
]
}