build: Change bench target names and move CI to separate workflow (#655)

* Change bench target names and move CI to separate workflow

* Fix file detection
This commit is contained in:
Lev
2022-02-08 11:35:52 +03:00
committed by GitHub
parent b02191f3f8
commit 05853825d8
4 changed files with 55 additions and 40 deletions

View File

@@ -2,17 +2,17 @@
# Reference: https://github.com/docker/buildx/blob/master/docs/reference/buildx_bake.md
# Bench images
# Bench image
target "bench-build" {
target "bench" {
context = "build/bench"
target = "bench"
tags = ["frappe/bench:latest"]
dockerfile = "build/bench/Dockerfile"
target = "build"
}
target "bench-test" {
inherits = ["bench-build"]
target = "test"
inherits = ["bench"]
target = "bench-test"
}
# Main images