Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

release (GitLab CI component)

Bumps the semver version via git-std, commits + tags, then pushes.

This component consumes a driftsys/dock core image.

Inputs

NameRequiredDefaultDescription
imagenoghcr.io/driftsys/dock:core-v0.2.0Container image.
stagenodeployPipeline stage.
remotenooriginRemote to push to.
dry-runnofalseSkip push if true.

Example

include:
  - component: gitlab.com/driftsys/ci/release@~latest

Notes

  • The job only runs on the default branch (CI_COMMIT_BRANCH == CI_DEFAULT_BRANCH).
  • The pipeline runner must have push access to the repository.
  • Override image to pin to a specific dock release.