From 361a85592ee187975034db52c5510c2deb4618f9 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 12 Jul 2023 12:10:06 +0200 Subject: [PATCH] fix: Refer to new container tag within chart values --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 74e85af..4587630 100644 --- a/.drone.yml +++ b/.drone.yml @@ -100,6 +100,7 @@ steps: - | export CHART_VERSION=$(cat .version) 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 - | @@ -145,7 +146,6 @@ steps: npx semantic-release \ --branches ${DRONE_BRANCH} \ --tag-format "v\$${version}" \ - --dry-run \ --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/git environment: GIT_APIKEY: