Skip to content

Commit 11d58b4

Browse files
authored
chore: do not set rolling tags for preview versions (#303)
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
1 parent b5bfa91 commit 11d58b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-bake.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ target "default" {
7474
"${fullname}:${index(split(".",cleanVersion(pgVersion)),0)}-${tgt}-${distroVersion(base)}",
7575
"${fullname}:${cleanVersion(pgVersion)}-${tgt}-${distroVersion(base)}",
7676
"${fullname}:${cleanVersion(pgVersion)}-${formatdate("YYYYMMDDhhmm", now)}-${tgt}-${distroVersion(base)}",
77-
], (tgt == "system" && distroVersion(base) == "bullseye") ? getRollingTags("${fullname}", pgVersion) : [])
77+
], (tgt == "system" && distroVersion(base) == "bullseye" && isPreview(pgVersion) == "false") ? getRollingTags("${fullname}", pgVersion) : [])
7878
context = "."
7979
target = "${tgt}"
8080
args = {

0 commit comments

Comments
 (0)