release (GitLab CI component)
Bumps the semver version via git-std, commits + tags, then pushes.
This component consumes a driftsys/dock core image.
Inputs
| Name | Required | Default | Description |
|---|---|---|---|
image | no | ghcr.io/driftsys/dock:core-v0.2.0 | Container image. |
stage | no | deploy | Pipeline stage. |
remote | no | origin | Remote to push to. |
dry-run | no | false | Skip 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
imageto pin to a specific dock release.