ci: use buildx bake in docker build job

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2350>
This commit is contained in:
jo 2023-02-12 13:53:42 +01:00
commit a63c9db168
7 changed files with 83 additions and 57 deletions

17
docker-bake.json Normal file
View file

@ -0,0 +1,17 @@
{
"group": {
"default": {
"targets": ["api", "front"]
}
},
"target": {
"api": {
"context": "api",
"target": "production"
},
"front": {
"context": "front",
"target": "production"
}
}
}