Skip to content
Commit 6f0b6e2c authored by Matthew Clarkson's avatar Matthew Clarkson
Browse files

feat: allow `tag` in plugin config for default tag replacement

We previous defaulted the `tag` of an image to be `${nextRelease.version}`.
However, we may want to overide this default when doing tag replacement.

A common use case for this if the incoming tag has parts to it:

```json
tag: "${tag.split('-').slice(0,-1).join('-')}-${nextRelease.version}"
images:
  "${CI_REGISTRY_IMAGE}/node:16-${CI_COMMIT_SHA}"
  "${CI_REGISTRY_IMAGE}/node:18-${CI_COMMIT_SHA}"
```
parent 4249398f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment