Skip to content

build: update Docker image tags to always use 'latest' for most recen… #1084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nerdeveloper
Copy link
Member

@nerdeveloper nerdeveloper commented May 19, 2025

This PR adds support for the :latest tag on container images, which will always point to the most recent stable release. Key changes:

  1. GitHub Actions workflow:

    • Adds :latest tag alongside version tag (e.g. :v0.16.3) for release builds only
    • Skips :latest tag for canary builds from main branch
    • Updates cosign installer to v3.8.1 to fix version compatibility
    • Modifies signing and SBOM steps to handle both version and latest tags
  2. SBOM generation:

    • Adds latest tag to SBOM metadata for release builds
    • Skips latest tag for canary builds to maintain stability
  3. Documentation:

    • Updates Docker examples to demonstrate latest tag usage
    • Adds comments explaining that latest always pulls most recent release

This change makes it easier for users to always pull the most recent stable release using:

docker pull ghcr.io/helm/chartmuseum:latest

@nerdeveloper nerdeveloper requested review from scbizu and cbuto May 19, 2025 11:07
@nerdeveloper nerdeveloper linked an issue May 19, 2025 that may be closed by this pull request
@adriens
Copy link

adriens commented May 19, 2025

Awesome, thanks a lot guys, it will make my installation auto-updatable with podman 🦥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐳 Please add the latest for latest release 🙏
2 participants