Skip to content
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

chore(ci): align image tag conventions with faktenforum#21

Merged
JumpLink merged 1 commit into
mainfrom
chore/align-image-tags-with-faktenforum
May 22, 2026
Merged

chore(ci): align image tag conventions with faktenforum#21
JumpLink merged 1 commit into
mainfrom
chore/align-image-tags-with-faktenforum

Conversation

@JumpLink

Copy link
Copy Markdown
Collaborator

Summary

Aligns this repo's image tag conventions with faktenforum/faktenforum so prod compose stacks can use the same IMAGE_TAG=latest-dev / IMAGE_TAG=latest semantics across all services.

Before

Trigger Tags pushed
Push to main latest
Push to feature branch <branch-name>, dev

After (matches faktenforum's deploy-dev.yml + release.yml)

Trigger Tags pushed
Push to main <short-commit-hash>, latest-dev
Release tag v* <version> (e.g. v1.2.3), latest
workflow_dispatch on main <short-commit-hash>, latest-dev

Motivation

Tried to deploy the search stack in Portainer:

Failed to deploy a stack: compose up operation failed:
Error response from daemon: manifest unknown

The ff-dev-* stacks use IMAGE_TAG=latest-dev, but this repo never published a :latest-dev tag. Picking a different tag in the search stack alone would have been a one-off exception across an otherwise uniform set of dev stacks; aligning the tagging is the smaller and longer-lived fix.

Migration

After merge:

  1. The first push to main produces ghcr.io/faktenforum/checkbot-rag:latest-dev and :<commit-hash>.
  2. Portainer ff-dev-search stack can keep IMAGE_TAG=latest-dev.
  3. Older tags (:latest, :dev, branch tags) remain in GHCR until manually pruned - no breakage.

Feature branch builds

Removed for cost/noise reasons. If you need an image from a feature branch:

  • Go to Actions -> Build and Push Docker Image -> Run workflow -> pick the branch
  • Result: ghcr.io/faktenforum/checkbot-rag:<short-commit-hash> (no latest-dev from non-main branches)

Test plan

  • Merge -> watch CI build latest-dev + commit-hash tags
  • Pull ghcr.io/faktenforum/checkbot-rag:latest-dev locally to verify
  • Portainer ff-dev-search deploys without manifest unknown

Mirrors the tagging scheme used in faktenforum/faktenforum
(deploy-dev.yml + release.yml) so the prod compose can use the same
`IMAGE_TAG` semantics across services:

- main push        -> <short-commit-hash> + latest-dev
- release tag (v*) -> <version> + latest
- workflow_dispatch on main -> <short-commit-hash> + latest-dev

Drops the previous `dev` and `<branch-name>` tags from feature
branches; if needed for ad-hoc testing, trigger workflow_dispatch
on the branch manually.

Companion: faktenforum-infrastructure#5 can now stay on the same
`IMAGE_TAG=latest-dev` convention used by ff-dev-api/backend/frontend
without a per-service exception.
@JumpLink JumpLink merged commit 60f2f69 into main May 22, 2026
2 checks passed
@JumpLink JumpLink deleted the chore/align-image-tags-with-faktenforum branch May 22, 2026 09:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant