Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
build:
strategy:
matrix:
target: [ "all", "20", "19", "18", "17", "16", "16-alpine", "15", "14", "13", "12", "11", "10", "9", "8", "7"]
target: [ "all", "20", "20-alpine", "19", "19-alpine", "18", "18-alpine", "17", "17-alpine", "16", "16-alpine", "15", "14", "13", "12", "11", "10", "9", "8", "7"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ You can access all available Clang Tools Docker images via [Docker Hub registry

* [`all`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.all) (Supports versions of clang-tools includes `20`, `19`, `18`, `17`, `16`, `15`, `14`, `13`, `12`, `11`, `10`, `9`)
* [`20`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
* [`20-alpine`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.alpine)
* [`19`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
* [`19-alpine`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.alpine)
* [`18`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
* [`18-alpine`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.alpine)
* [`17`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
* [`17-alpine`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.alpine)
* [`16`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
* [`16-alpine`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile.alpine)
* [`15`](https://github.com/cpp-linter/clang-tools-docker/blob/master/Dockerfile)
Expand Down
22 changes: 13 additions & 9 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ group "default" {
targets = [
"all",
"20",
"20-alpine",
"19",
"19-alpine",
"18",
"18-alpine",
"17",
"17-alpine",
"16",
"16-alpine",
"15",
Expand Down Expand Up @@ -40,7 +44,7 @@ target "all" {
"${DOCKER_REPO}:all",
"${GITHUB_REPO}:all"
]
platforms = ["linux/amd64"]
platforms = ["linux/amd64", "linux/arm64"]
}

target "clang-tools" {
Expand All @@ -59,7 +63,7 @@ target "clang-tools" {
"${DOCKER_REPO}:${tgt}",
"${GITHUB_REPO}:${tgt}"
]
platforms = ["linux/amd64"]
platforms = ["linux/amd64", "linux/arm64"]
}

target "clang-tools" {
Copy link

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are multiple targets with the same name "clang-tools" defined. This will cause conflicts as target names must be unique in Docker Bake files.

Suggested change
target "clang-tools" {
target "clang-tools-19" {

Copilot uses AI. Check for mistakes.
Expand All @@ -78,7 +82,7 @@ target "clang-tools" {
"${DOCKER_REPO}:${tgt}",
"${GITHUB_REPO}:${tgt}"
]
platforms = ["linux/amd64"]
platforms = ["linux/amd64", "linux/arm64"]
}

target "clang-tools" {
Expand All @@ -97,7 +101,7 @@ target "clang-tools" {
"${DOCKER_REPO}:${tgt}",
"${GITHUB_REPO}:${tgt}"
]
platforms = ["linux/amd64"]
platforms = ["linux/amd64", "linux/arm64"]
}

target "clang-tools" {
Expand All @@ -115,7 +119,7 @@ target "clang-tools" {
"${DOCKER_REPO}:${tgt}",
"${GITHUB_REPO}:${tgt}"
]
platforms = ["linux/amd64"]
platforms = ["linux/amd64", "linux/arm64"]
}

target "clang-tools" {
Expand All @@ -133,7 +137,7 @@ target "clang-tools" {
"${DOCKER_REPO}:${tgt}",
"${GITHUB_REPO}:${tgt}"
]
platforms = ["linux/amd64"]
platforms = ["linux/amd64", "linux/arm64"]
}

target "clang-tools" {
Expand All @@ -151,12 +155,12 @@ target "clang-tools" {
"${DOCKER_REPO}:${tgt}",
"${GITHUB_REPO}:${tgt}"
]
platforms = ["linux/amd64"]
platforms = ["linux/amd64", "linux/arm64"]
}

target "clang-tools" {
matrix = {
tgt = ["16-alpine"]
tgt = ["16-alpine", "17-alpine", "18-alpine", "19-alpine", "20-alpine"]
}
name = "${tgt}"
dockerfile = "Dockerfile.alpine"
Expand All @@ -169,5 +173,5 @@ target "clang-tools" {
"${DOCKER_REPO}:${tgt}",
"${GITHUB_REPO}:${tgt}"
]
platforms = ["linux/amd64"]
platforms = ["linux/amd64", "linux/arm64"]
}
Loading