Skip to content

Commit 7263318

Browse files
committed
fix: wrap helm set values in quotes to handle parsing issues
Updated the CD pipeline to wrap Helm's `--set` values in single quotes. This ensures proper parsing of variables and prevents potential deployment issues caused by unquoted values.
1 parent b6ee549 commit 7263318

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/CD.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ jobs:
5454
helm upgrade --install evilgiraf helm-chart \
5555
--namespace evilgiraf \
5656
--create-namespace \
57-
--set api.image.tag=${{ steps.version.outputs.semVer }} \
58-
--set api.baseImage.tag=${{ steps.version.outputs.semVer }} \
59-
--set front.image.tag=${{ steps.version.outputs.semVer }} \
60-
--set api.auth.apiKey=${{ secrets.API_KEY }} \
61-
--set postgresql.auth.password=${{ secrets.POSTGRES_PASSWORD }} \
62-
--set api.dockerRegistry.url=${{ secrets.REGISTRY_URL }} \
63-
--set api.dockerRegistry.username=${{ secrets.REGISTRY_USERNAME }} \
64-
--set api.dockerRegistry.password=${{ secrets.REGISTRY_PASSWORD }} \
57+
--set api.image.tag='${{ steps.version.outputs.semVer }}' \
58+
--set api.baseImage.tag='${{ steps.version.outputs.semVer }}' \
59+
--set front.image.tag='${{ steps.version.outputs.semVer }}' \
60+
--set api.auth.apiKey='${{ secrets.API_KEY }}' \
61+
--set postgresql.auth.password='${{ secrets.POSTGRES_PASSWORD }}' \
62+
--set api.dockerRegistry.url='${{ secrets.REGISTRY_URL }}' \
63+
--set api.dockerRegistry.username='${{ secrets.REGISTRY_USERNAME }}' \
64+
--set api.dockerRegistry.password='${{ secrets.REGISTRY_PASSWORD }}' \
6565
--wait --timeout 15m
6666
6767
- name: Create Git Tag

0 commit comments

Comments
 (0)