Tag bench images with the latest bench release version (#1183)

Remove latest tag and make it default
This commit is contained in:
Amal Paul
2023-07-18 09:32:27 +05:30
committed by GitHub
parent f485a13a25
commit c3df323a9f
2 changed files with 8 additions and 1 deletions

View File

@@ -32,6 +32,10 @@ variable "BENCH_REPO" {
default = "https://github.com/frappe/bench"
}
variable "LATEST_BENCH_RELEASE" {
default = "latest"
}
# Bench image
target "bench" {
@@ -40,7 +44,7 @@ target "bench" {
}
context = "images/bench"
target = "bench"
tags = ["frappe/bench:latest"]
tags = ["frappe/bench:${LATEST_BENCH_RELEASE}"]
}
target "bench-test" {