Skip to content

CI: Docker image untested before release, leftover GHCR tags, source tarball logic duplicated #574

Closed

Description

@LeMyst

Smaller CI issues, none urgent:

  • The Docker image is only built when a release is cut. No pull request builds it, so a change that breaks the Dockerfile (a dependency, a feature flag, the front-end asset stage) is only found after the version has been tagged.
  • The release leaves helper tags in GHCR. It pushes each platform image as ghcr.io/cooklang/cookcli:build-0 / build-1 and then assembles the manifest from those. The two tags are overwritten every release and sit in the public registry next to the real versions.
  • The source tarball logic is written three times: in release.yaml (source_tarball), in rpm.yaml, and in packaging/fedora/build-rpm.sh. Only the release copy checks that the web assets made it in, so the RPM workflow never tests the path the release actually uses.
  • Stale references:
    • test.yml triggers on a develop branch that does not exist.
    • CLAUDE.md describes a ui-tests.yml workflow that does not exist.
    • claude.yml still carries the action's template comments, including one naming claude-opus-4-1.

Proposal

  • A docker.yml that builds the image on pull requests touching the Dockerfile, lockfiles or manifests, with a smoke test that the server answers.
  • Push the release images by digest.
  • One packaging/source-tarball.sh used by both the release and build-rpm.sh.
  • Clean up the stale references.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions