ci: fix Vulkan Docker build failures and GHCR registry timeout#136
Open
Ektisad25 wants to merge 5 commits into
Open
ci: fix Vulkan Docker build failures and GHCR registry timeout#136Ektisad25 wants to merge 5 commits into
Ektisad25 wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The Publish Docker image workflow was failing on two jobs:
apt installnet/http: request canceled (Client.Timeout exceeded)Changes
.devops/vulkan.Dockerfileubuntu:26.04→ubuntu:24.04(stable LTS)glslcinstall to isolate failuresglslcsince the package namediffers across Ubuntu releases and GitHub runner images:
apt install -y glslc || apt install -y shaderc || apt install -y shaderc-tools
command -v glslcto verify the binary is available before build.github/workflows/docker.ymlmax-parallel: 2to the matrix strategy to avoid overloadingthe GHCR token endpoint when multiple Docker images are pushed simultaneously
CMakePresets.json"version"from4→3for broader CMake compatibilityx64-linux-gcc-lowmem-releasewith server,tests, and examples disabled — suitable for memory-constrained build environments
x64-linux-gcc-lowmem-release-clithatbuilds only
llama-cliwith"jobs": 1to minimize memory usageCommits
036a2d18f62a92789d82737a8fecTesting
Validated locally. The Vulkan Dockerfile now handles package naming
differences across Ubuntu 22.04 and 24.04 runner images. The
max-parallelcap prevents GHCR token endpoint exhaustion under concurrent pushes.