mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1490] [CLOSED] Add a workflow that builds and pushes the Docker image on a version tag #3484
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3484
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1490
Author: @nullata
Created: 10/8/2026
Status: ❌ Closed
Base:
main← Head:docker-image-ci📝 Commits (4)
a94199aAdd a workflow that builds and pushes the CUDA image on a version tagdfa4537release-docker-image: drop the disk-cleanup step6692d81release-docker-image: document PORTABLE in the Dockerfile header and INSTALL.md97c6e88Merge upstream main into docker-image-ci: keep both the Q6K/MMQ expert flags (upstream) and STRATA_PORTABLE (this PR) in the Dockerfile cmake_build call📊 Changes
3 files changed (+87 additions, -5 deletions)
View changed files
➕
.github/workflows/release-docker-image.yml(+70 -0)📝
Dockerfile(+15 -5)📝
docs/INSTALL.md(+2 -0)📄 Description
Issue: Resolves #1482
Summary
Builds the CUDA Docker image in GitHub Actions on a
v*tag and pushes it to GHCR, so users candocker pullinstead of compiling the engine themselves (docs/INSTALL.md, "Docker (Linux)"). Closes the gap described in #1482.What changed
.github/workflows/release-docker-image.yml(new): builds and pushes on av*tag, plusworkflow_dispatchfor a manual rebuild (which does not move:latest). The version comes from the tag and must matchproject(strata VERSION ...)in CMakeLists.txt. amd64 only: the engine needs x86-64 AVX2, and an emulated arm64 CUDA compile could not run on an arm64 GPU host anyway. Tags::latest,:<version>,:<version>-cuda13— the-cuda13suffix leaves room for a HIP or SYCL image later. No secrets: the built-inGITHUB_TOKENwithpackages: writepushes to GHCR.Dockerfile: newARG PORTABLE=0, threaded into the engine and vision cmake calls. A published image is not built on the PC it runs on, so CI setsPORTABLE=1to get the AVX2 floor (CMakeLists.txt'sSTRATA_PORTABLE, the same failure #411 #412 #419 fixed for the vision encoder). The default stays native, sodocker build -t strata .is unchanged.Extra Notes
Measured on my fork (nullata/Strata, run 37717607320): one uncached build on ubuntu-latest takes ~1h32m; the image is 5.3 GB compressed. Runner disk is not a problem (86 GB free). The image has not been run on a GPU yet — CI has none. If you'd rather keep Docker builds native-only, closing this PR (and #1482) is fine.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.