Skip to content

Commit bbfb1f5

Browse files
authored
fixup! feat: support clang v18 (#71) (#73)
1 parent 04344d5 commit bbfb1f5

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

docker-bake.hcl

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,26 @@ target "all" {
4343

4444
target "clang-tools" {
4545
matrix = {
46-
tgt = ["18", "17", "16", "15", "14", "13"]
46+
tgt = ["18"]
47+
}
48+
name = "${tgt}"
49+
dockerfile = "Dockerfile"
50+
context = "."
51+
args = {
52+
# https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=clang-format-18&searchon=names
53+
BASE_IMAGE="ubuntu:noble"
54+
CLANG_VERSION="${tgt}",
55+
}
56+
tags = [
57+
"${DOCKER_REPO}:${tgt}",
58+
"${GITHUB_REPO}:${tgt}"
59+
]
60+
platforms = ["linux/amd64"]
61+
}
62+
63+
target "clang-tools" {
64+
matrix = {
65+
tgt = ["17", "16", "15", "14", "13"]
4766
}
4867
name = "${tgt}"
4968
dockerfile = "Dockerfile"

0 commit comments

Comments
 (0)