Skip to content

Align source-container builds and image publication with the release contract #34

Description

@Vonng

Summary

The source Dockerfile and make docker path are not equivalent to the official GoReleaser image:

  • base images use mutable tags;
  • frontend install is not immutable;
  • build_version and build_time arguments passed by Make are not consumed;
  • the resulting binary reports (dev);
  • the tag workflow can push latest while the GitHub release is still a draft;
  • anonymous access to existing GHCR Console tags currently returns 403.

Acceptance criteria

  • Decide and document whether GHCR images are public release artifacts.
  • Pin build stages by digest or another reviewed immutable mechanism.
  • Use yarn install --immutable.
  • Inject the same version/commit/time contract as GoReleaser.
  • Add an equivalence test for source-built and release-built binaries/assets.
  • Treat creation of the release tag as the explicit approval boundary, or delay latest until the draft is published.
  • Verify anonymous pull behavior when public distribution is intended.
  • Prevent a failed/draft release from advancing latest.

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

    area/packagingPackages, containers, and release artifactsarea/releaseRelease process and versioningbugSomething isn't workingfollow-upAccepted follow-up work; not a release blockerpriority/highHigh priority follow-up

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions