Skip to content

Conversation

@Impre-visible
Copy link
Collaborator

This pull request updates the Docker image publishing workflow to automatically tag images as latest when the current release matches the latest GitHub release. The workflow now determines if the pushed tag is the most recent and, if so, pushes an additional latest tag alongside the versioned tag.

Key changes to the Docker publish workflow:

Automated tagging logic:

  • Added logic in the prepare job to compare the current tag with the latest GitHub release tag using the GitHub CLI (gh). If they match, a push-latest flag is set to true. (.github/workflows/docker-publish.yml)
  • The push-latest value is now output from the prepare job for downstream steps to use. (.github/workflows/docker-publish.yml)

Image publishing enhancements:

  • In the image publishing step, if push-latest is true, the workflow adds the latest tag to the image alongside the version-specific tag. (.github/workflows/docker-publish.yml)

Workflow cleanup:

  • Minor formatting and whitespace cleanup in the build steps for readability. (.github/workflows/docker-publish.yml)

@Impre-visible Impre-visible linked an issue Jan 17, 2026 that may be closed by this pull request
@Impre-visible Impre-visible merged commit e7f7d92 into main Jan 17, 2026
5 checks passed
@Impre-visible Impre-visible deleted the fix/missing-latest-tag-in-containter-registry-260 branch January 23, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing latest tag in containter registry

2 participants