LocalAI/.github/workflows
Ettore Di Giacinto ea00199554 ci: tag every backend digest, including singletons
backend_build.yml pushes by canonical digest only (push-by-digest=true,
no tags applied at build time). User-facing tagging happens in
backend_merge.yml's `imagetools create` step. Before this commit,
scripts/changed-backends.js emitted a merge entry only for tag-suffixes
with 2+ legs, so every single-arch backend (CUDA/ROCm/Intel Python
images, vLLM, sglang, transformers, diffusers, ...) pushed its digest
untagged and stayed that way until quay's GC reaped it. Symptom: tag
releases shipped multi-arch backends tagged correctly, but no
v<X>-gpu-nvidia-cuda-12-vllm (or any singleton variant) ever appeared
in the registry.

Changes:

- scripts/changed-backends.js drops the `group.length < 2` skip and
  emits two merge matrices, one per arch class, so each downstream
  merge job can `needs:` only its corresponding build matrix.
- backend.yml splits backend-merge-jobs into multiarch and singlearch
  variants. The split preserves PR #9746's fix: slow singlearch CUDA
  builds (~6h) must not gate multiarch merges, or quay's GC reaps the
  multiarch per-arch digests before they're tagged.
- backend_pr.yml mirrors the split.
- backend_build.yml renames the digest artifact from
  `digests<suffix>-<platform-tag>` to
  `digests<suffix>--<platform-tag-or-"single">`. The `--` separator
  prevents the merge-side glob from over-matching sibling backends
  whose tag-suffix is a prefix of ours (e.g. -cpu-vllm vs
  -cpu-vllm-omni, -cpu-mlx vs -cpu-mlx-audio); the `single` placeholder
  keeps the name well-formed when platform-tag is empty.
- backend_merge.yml updates the download pattern to match.

Verified locally: a tag-push event now expands to 36 multiarch merge
entries (= 72 builds / 2 legs) and 199 singlearch merge entries (one
per singleton, including -gpu-nvidia-cuda-12-vllm at index 24).

Assisted-by: Claude:claude-opus-4-7
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-05-11 13:22:00 +00:00
..
disabled chore(ci): disable CI actions 2026-03-02 14:48:00 +01:00
backend.yml ci: tag every backend digest, including singletons 2026-05-11 13:22:00 +00:00
backend_build.yml ci: tag every backend digest, including singletons 2026-05-11 13:22:00 +00:00
backend_build_darwin.yml ci(darwin): brew reinstall ccache to handle transitive dep drift 2026-05-10 21:17:30 +00:00
backend_merge.yml ci: tag every backend digest, including singletons 2026-05-11 13:22:00 +00:00
backend_pr.yml ci: tag every backend digest, including singletons 2026-05-11 13:22:00 +00:00
base-images.yml ci(base-images): also trigger rebuild on .docker/install-base-deps.sh changes 2026-05-09 22:30:46 +00:00
build-test.yaml feat(ci): allow routing apt traffic through an alternate Ubuntu mirror (#9650) 2026-05-03 23:50:13 +02:00
bump-inference-defaults.yml chore(deps): bump peter-evans/create-pull-request from 7 to 8 (#9114) 2026-03-24 08:50:50 +01:00
bump_deps.yaml Change vibevoice.cpp repository reference 2026-05-09 10:30:11 +02:00
bump_docs.yaml fix(api)!: Stop model prior to deletion (#8422) 2026-02-06 09:22:10 +01:00
checksum_checker.yaml feat(ci): allow routing apt traffic through an alternate Ubuntu mirror (#9650) 2026-05-03 23:50:13 +02:00
deploy-explorer.yaml fix(api)!: Stop model prior to deletion (#8422) 2026-02-06 09:22:10 +01:00
gallery-agent.yaml Change cron schedule to run every 12 hours 2026-04-25 18:38:28 +02:00
generate_intel_image.yaml ci(concurrency): make cancel-in-progress event-aware, group by sha on push 2026-05-09 08:30:55 +00:00
gh-pages.yml chore(deps): bump actions/upload-pages-artifact from 4 to 5 (#9337) 2026-04-13 21:53:47 +02:00
image-pr.yml ci(concurrency): make cancel-in-progress event-aware, group by sha on push 2026-05-09 08:30:55 +00:00
image.yml ci(concurrency): make cancel-in-progress event-aware, group by sha on push 2026-05-09 08:30:55 +00:00
image_build.yml ci: finish GHA free-tier migration (per-arch fan-out, image splits, retire self-hosted, fix provenance) (#9730) 2026-05-09 09:37:00 +02:00
image_merge.yml ci: finish GHA free-tier migration (per-arch fan-out, image splits, retire self-hosted, fix provenance) (#9730) 2026-05-09 09:37:00 +02:00
lint.yml ci(concurrency): make cancel-in-progress event-aware, group by sha on push 2026-05-09 08:30:55 +00:00
notify-releases.yaml fix(api)!: Stop model prior to deletion (#8422) 2026-02-06 09:22:10 +01:00
release.yaml feat(ci): allow routing apt traffic through an alternate Ubuntu mirror (#9650) 2026-05-03 23:50:13 +02:00
secscan.yaml Revert "chore(deps): bump securego/gosec from 2.22.9 to 2.22.11" (#7789) 2025-12-30 09:58:13 +01:00
stalebot.yml chore(deps): bump actions/stale from 10.1.1 to 10.2.0 (#8633) 2026-02-23 23:27:20 +01:00
test-extra.yml feat(whisper-cpp): implement streaming transcription (#9751) 2026-05-10 23:11:46 +02:00
test.yml ci: drop paths-ignore from test.yml and tests-e2e.yml 2026-05-09 09:23:51 +00:00
tests-aio.yml ci(concurrency): make cancel-in-progress event-aware, group by sha on push 2026-05-09 08:30:55 +00:00
tests-e2e.yml ci: drop paths-ignore from test.yml and tests-e2e.yml 2026-05-09 09:23:51 +00:00
tests-ui-e2e.yml ci(concurrency): make cancel-in-progress event-aware, group by sha on push 2026-05-09 08:30:55 +00:00
update_swagger.yaml feat(ci): allow routing apt traffic through an alternate Ubuntu mirror (#9650) 2026-05-03 23:50:13 +02:00
yaml-check.yml chore(backend gallery): add description for remaining backends (#5679) 2025-06-17 22:21:44 +02:00