-
Notifications
You must be signed in to change notification settings - Fork 7
ci: Consider removing 'latest' tag from GoReleaser #58
Copy link
Copy link
Closed
Labels
area/securitySecurity-related issuesSecurity-related issuesenhancementNew feature or requestNew feature or request
Description
Summary
GoReleaser currently publishes a latest tag alongside versioned tags:
# .goreleaser.yaml
image_templates:
- "ghcr.io/defilantech/llmkube-controller:{{ .Version }}-amd64"
- "ghcr.io/defilantech/llmkube-controller:latest-amd64"Concerns with latest Tag
- Mutable - Can be overwritten, making deployments non-reproducible
- Stale images - Combined with
pullPolicy: IfNotPresent, nodes may run old cached images - Production risk - Accidental use of
latestcan cause unexpected behavior - Supply chain - Harder to audit which version is actually running
Options
Option A: Remove latest entirely
Remove the latest tag from GoReleaser. Users must specify explicit versions.
Option B: Keep but discourage
Keep latest but add warnings in documentation and Helm chart values.
Option C: Use edge instead
Replace latest with edge to signal it's for development/testing only.
Discussion
This is a team decision based on how the project will be used. Many production-focused projects have moved away from latest tags.
Labels
discussion, ci, helm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/securitySecurity-related issuesSecurity-related issuesenhancementNew feature or requestNew feature or request