Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ci(goreleaser): do not move :latest on prereleases#387

Merged
clangenb merged 1 commit into
mainfrom
ci/skip-latest-on-prerelease
Jun 5, 2026
Merged

ci(goreleaser): do not move :latest on prereleases#387
clangenb merged 1 commit into
mainfrom
ci/skip-latest-on-prerelease

Conversation

@eldara-cruncher
Copy link
Copy Markdown
Collaborator

The :latest docker_manifest had no skip_push guard, so every tag — including RC prereleases — repointed eldaratech/swarmcli:latest. As a result :latest currently tracks v1.7.0-rc2 (a prerelease), meaning a plain docker pull eldaratech/swarmcli gets an RC.

Adds skip_push: "auto" to the :latest manifest so it is only pushed for stable (non-prerelease) tags — mirroring the docker/metadata-action latest=auto behaviour the swarmcli-agent and swarmcli-rbac-proxy release workflows already rely on. The versioned :{{ .Tag }} manifest is unchanged and still publishes for RCs.

The live :latest tag will be repointed to the v1.6.0 GA manifest separately (registry op).

The :latest docker_manifest had no skip_push guard, so every tag —
including RC prereleases — repointed eldaratech/swarmcli:latest. As a
result :latest currently tracks v1.7.0-rc2. Add skip_push: "auto" so the
:latest manifest is only pushed for stable (non-prerelease) tags,
matching the docker/metadata-action latest=auto behaviour the agent and
rbac-proxy release workflows already use. Versioned :{{.Tag}} manifests
are unaffected and still publish for RCs.
@clangenb clangenb merged commit c6ee432 into main Jun 5, 2026
13 of 16 checks passed
@eldara-cruncher eldara-cruncher deleted the ci/skip-latest-on-prerelease branch June 5, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants