mirror of
https://github.com/zitadel/zitadel.git
synced 2025-07-16 22:39:15 +00:00
test ci perf
This commit is contained in:
parent
c2afb4e739
commit
2dc5f484ac
20
.github/workflows/ffo-test.yml
vendored
Normal file
20
.github/workflows/ffo-test.yml
vendored
Normal 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
|
@ -6,7 +6,6 @@ variable "REGISTRY" {
|
||||
default = "ghcr.io/zitadel"
|
||||
}
|
||||
|
||||
## TODO replace with matix groups
|
||||
group "build" {
|
||||
targets = ["console-build", "core-build"]
|
||||
}
|
||||
@ -44,7 +43,7 @@ target "console" {
|
||||
"build" = []
|
||||
"output" = []
|
||||
"lint" = []
|
||||
"image" = ["${REGISTRY}/console:latest"]
|
||||
"image" = ["${REGISTRY}/console:${GITHUB_SHA}"]
|
||||
}[tgt]
|
||||
target = tgt
|
||||
}
|
||||
@ -78,7 +77,7 @@ target "core" {
|
||||
"build" = []
|
||||
"output" = []
|
||||
"lint" = []
|
||||
"image" = ["${REGISTRY}/zitadel:latest"]
|
||||
"image" = ["${REGISTRY}/zitadel:${GITHUB_SHA}"]
|
||||
}[tgt]
|
||||
target = tgt
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user