Install clang from Ubuntu and push image from buildx

apt.llvm.org has no repository for the current ubuntu:rolling release,
and nothing pins clang 20 - CC=clang already resolved to the distro
clang. Drop the llvm.sh step along with its helper packages.

docker build now runs under the buildx docker-container driver, which
keeps the result in the build cache unless told otherwise, so push
directly from the build instead of tagging locally.
This commit is contained in:
2026-06-12 12:06:45 -04:00
parent dd8f006d3f
commit 04d02261e9
2 changed files with 3 additions and 11 deletions
+1 -3
View File
@@ -35,9 +35,7 @@ jobs:
docker push "$image:$latest"
fi
else
docker build -t "$image:$tag" -t "$image:$latest" .
docker push "$image:$tag"
docker push "$image:$latest"
docker build --push -t "$image:$tag" -t "$image:$latest" .
fi
pre-commit: