Skip to content

ci: run release workflows from version tags - #826

Merged
jondricek merged 2 commits into
masterfrom
ci/release-tag-workflows
Sep 10, 2026
Merged

ci: run release workflows from version tags#826
jondricek merged 2 commits into
masterfrom
ci/release-tag-workflows

Conversation

@scotluns

@scotluns scotluns commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Update release-side GitHub Actions workflows so public release artifacts are produced from explicit stable version tags instead of ordinary branch pushes.

This changes:

  • GitHub Pages deploys to run on stable vX.Y.Z tag pushes instead of master pushes
  • GitHub Release creation to run only on stable vX.Y.Z tag pushes
  • Docker image publishing to run only on stable vX.Y.Z tag pushes

Docker publishing still produces the release semver tag, latest, and sha-* tags. With this change, latest represents the latest tagged release image rather than the latest master branch push.

Validation

Validated the trigger behavior on a fork before opening this PR:

  • Branch pushes did not trigger release-side workflows
  • A disposable v*.*.* tag triggered GitHub Pages, Create Release, and Docker Publish workflows
  • Docker Publish was tested with a dry-run echo step on the fork to confirm trigger behavior without publishing an image

Notes

  • This PR intentionally does not include the existing develop CI quality-gate changes.
  • GitHub Actions tag filters use glob matching, so each release workflow now validates GITHUB_REF_NAME before creating release artifacts.

@scotluns
scotluns force-pushed the ci/release-tag-workflows branch from 2c0293f to 83b28f7 Compare September 9, 2026 14:27
Limit release creation, GitHub Pages deployment, and Docker publishing to version tag pushes.

Keep Docker latest publishing for releases while removing branch-triggered develop and master publishing.
@scotluns
scotluns force-pushed the ci/release-tag-workflows branch from 83b28f7 to e67fb36 Compare September 9, 2026 14:42
@scotluns
scotluns requested a review from jondricek September 9, 2026 14:55
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@jondricek jondricek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jondricek
jondricek merged commit 734a1ca into master Sep 10, 2026
2 of 3 checks passed
@jondricek
jondricek deleted the ci/release-tag-workflows branch September 10, 2026 20:07
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.

2 participants