Skip to content

High Priority: Implement version-aware container tagging #302

@tbrandenburg

Description

@tbrandenburg

Problem

Docker configuration builds untagged images for local development only, creating high-risk deployment scenarios:

  • Impossible to deploy specific versions in production
  • latest tag provides no rollback capability
  • Container images cannot be traced to source commits
  • Production deployments become unreproducible

Evidence

  • docker-compose.yml builds from local Dockerfiles without tags
  • No container registry publishing
  • Images tagged only as latest implicitly
  • No OCI labels for traceability

Impact

High - Production container deployments are unreliable and non-traceable.

Recommended Solution

  1. Tag images with version and commit SHA (e.g., v1.0.0, v1.0.0-abc1234)
  2. Add OCI labels (version, commit, build date, source URL)
  3. Publish to container registry (GitHub Container Registry)
  4. Maintain both latest and version-specific tags

Acceptance Criteria

  • Update Dockerfiles to accept version build args
  • Add OCI labels to all container images
  • Configure version-based image tagging in CI/CD
  • Set up GitHub Container Registry publishing
  • Update docker-compose.yml for version-aware deployments
  • Document container versioning strategy

Priority

High - Required for production container deployments

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity/mediumMedium complexity - moderate effort and dependenciesconfidence/highHigh confidence - well understood, low risk of issuespriority/highCritical priority - urgent attention requiredrank/3Rank 3 - High priorityseverity/highHigh severity - significant impact on functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions