test ci perf

This commit is contained in:
Florian Forster 2025-02-19 10:09:55 +01:00
parent c2afb4e739
commit 2dc5f484ac
No known key found for this signature in database
2 changed files with 22 additions and 3 deletions

20
.github/workflows/ffo-test.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: "Docker Bake Test"
on:
push:
branches:
- docker-bake
jobs:
test:
timeout-minutes: 10
runs-on:
group: zitadel-public
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/bake-action@v6
with:
source: .
push: false
targets: build,lint

View File

@ -6,7 +6,6 @@ variable "REGISTRY" {
default = "ghcr.io/zitadel" default = "ghcr.io/zitadel"
} }
## TODO replace with matix groups
group "build" { group "build" {
targets = ["console-build", "core-build"] targets = ["console-build", "core-build"]
} }
@ -44,7 +43,7 @@ target "console" {
"build" = [] "build" = []
"output" = [] "output" = []
"lint" = [] "lint" = []
"image" = ["${REGISTRY}/console:latest"] "image" = ["${REGISTRY}/console:${GITHUB_SHA}"]
}[tgt] }[tgt]
target = tgt target = tgt
} }
@ -78,7 +77,7 @@ target "core" {
"build" = [] "build" = []
"output" = [] "output" = []
"lint" = [] "lint" = []
"image" = ["${REGISTRY}/zitadel:latest"] "image" = ["${REGISTRY}/zitadel:${GITHUB_SHA}"]
}[tgt] }[tgt]
target = tgt target = tgt
} }