[PR #5164] [CI] publish Docker images when a release is published #5330

Open
opened 2026-11-07 16:34:23 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5164
Author: @mspiegel31
Created: 11/3/2026
Status: 🔄 Open

Base: main ← Head: docker-images-on-release


📝 Commits (1)

  • ef9e60d [Other] publish Docker images when a release is published

📊 Changes

2 files changed (+15 additions, -11 deletions)

View changed files

📝 .github/workflows/docker-images.yml (+13 -10)
📝 docs/DOCKER.md (+2 -1)

📄 Description

Images are published only when someone runs Docker images by hand, so a release can go out without them. v0.2.10 has been out since 2026-11-02 and ghcr.io/niko1221/strata still stops at 0.2.9-<flavor>. Anyone who deploys the container has to wait for that manual run, or build the image themselves.

This adds a release: published trigger to docker-images.yml. On that event the workflow uses the release's tag, pushes, and moves latest-<flavor> unless the release is marked as a pre-release. Draft releases don't fire published. Manual dispatch behaves exactly as before: same inputs, same dry-run default.

Limits:

  • The trigger assumes the feed and engine archives are already attached when the release is published. That's how v0.2.10 was done: every asset was uploaded before 23:52:47. If a package is missing, the plan job's --skip-missing skips that flavor, as it does today.
  • Releases are published by a user account, so the event fires. A release created by a workflow using GITHUB_TOKEN would not trigger it.
  • This changes the "nothing publishes by itself" rule in docs/DOCKER.md, and the doc is updated to match. If you want to keep publishing manual, close this PR.

Validation: actionlint reports no problems on the changed workflow. I have not run it on a real release event. I run the same docker/publish.sh --release-tag v0.2.10 --flavors cuda13 command in my own CI and it builds and pushes successfully. That run used the workflow's command path, not the release event.


Thank you for this project, it's wonderful to be able to run private MoE models at home!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/5164 **Author:** [@mspiegel31](https://github.com/mspiegel31) **Created:** 11/3/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docker-images-on-release` --- ### 📝 Commits (1) - [`ef9e60d`](https://github.com/Niko1221/Strata/commit/ef9e60d9073971b603042f06f52cf7d6ea5088dd) [Other] publish Docker images when a release is published ### 📊 Changes **2 files changed** (+15 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/docker-images.yml` (+13 -10) 📝 `docs/DOCKER.md` (+2 -1) </details> ### 📄 Description Images are published only when someone runs **Docker images** by hand, so a release can go out without them. v0.2.10 has been out since 2026-11-02 and `ghcr.io/niko1221/strata` still stops at `0.2.9-<flavor>`. Anyone who deploys the container has to wait for that manual run, or build the image themselves. This adds a `release: published` trigger to `docker-images.yml`. On that event the workflow uses the release's tag, pushes, and moves `latest-<flavor>` unless the release is marked as a pre-release. Draft releases don't fire `published`. Manual dispatch behaves exactly as before: same inputs, same dry-run default. Limits: - The trigger assumes the feed and engine archives are already attached when the release is published. That's how v0.2.10 was done: every asset was uploaded before 23:52:47. If a package is missing, the `plan` job's `--skip-missing` skips that flavor, as it does today. - Releases are published by a user account, so the event fires. A release created by a workflow using `GITHUB_TOKEN` would not trigger it. - This changes the "nothing publishes by itself" rule in `docs/DOCKER.md`, and the doc is updated to match. If you want to keep publishing manual, close this PR. Validation: `actionlint` reports no problems on the changed workflow. I have not run it on a real release event. I run the same `docker/publish.sh --release-tag v0.2.10 --flavors cuda13` command in my own CI and it builds and pushes successfully. That run used the workflow's command path, not the `release` event. --- Thank you for this project, it's wonderful to be able to run private MoE models at home! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#5330
No description provided.