fix: Refer to new container tag within chart values
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e83b98e116
commit
361a85592e
@ -100,6 +100,7 @@ steps:
|
|||||||
- |
|
- |
|
||||||
export CHART_VERSION=$(cat .version)
|
export CHART_VERSION=$(cat .version)
|
||||||
sed -i 's/{{ chart_version }}/'$CHART_VERSION'/g' charts/json-server/Chart.yaml
|
sed -i 's/{{ chart_version }}/'$CHART_VERSION'/g' charts/json-server/Chart.yaml
|
||||||
|
sed -i 's/tag: latest/tag: '$CHART_VERSION'/g' charts/json-server/values.yaml
|
||||||
- |
|
- |
|
||||||
helm package ./charts/json-server
|
helm package ./charts/json-server
|
||||||
- |
|
- |
|
||||||
@ -145,7 +146,6 @@ steps:
|
|||||||
npx semantic-release \
|
npx semantic-release \
|
||||||
--branches ${DRONE_BRANCH} \
|
--branches ${DRONE_BRANCH} \
|
||||||
--tag-format "v\$${version}" \
|
--tag-format "v\$${version}" \
|
||||||
--dry-run \
|
|
||||||
--plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/git
|
--plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/git
|
||||||
environment:
|
environment:
|
||||||
GIT_APIKEY:
|
GIT_APIKEY:
|
||||||
|
Loading…
Reference in New Issue
Block a user