feat: try to fix
All checks were successful
semantic-release / release (push) Successful in 28s

This commit is contained in:
lucasdpt
2026-04-21 14:26:05 +02:00
parent 35ba1f1a5a
commit 874e8ec4b8
2 changed files with 5 additions and 5 deletions

View File

@@ -67,10 +67,10 @@ jobs:
- name: Update values - name: Update values
run: | run: |
if [ "${{ inputs.update-helm }}" = "true" ]; then if [ "${{ inputs.update-helm }}" = "true" ] && [ -n "${{ inputs.helm-version }}" ] && [ -n "${{ inputs.helm-path }}" ]; then
yq e '${{ inputs.helm-path }} = "${{ inputs.helm-version }}"' -i "${{ inputs.file-path }}" yq e '${{ inputs.helm-path }} = "${{ inputs.helm-version }}"' -i "${{ inputs.file-path }}"
fi fi
if [ "${{ inputs.update-image }}" = "true" ]; then if [ "${{ inputs.update-image }}" = "true" ] && [ -n "${{ inputs.image-version }}" ] && [ -n "${{ inputs.image-path }}" ]; then
yq e '${{ inputs.image-path }} = "${{ inputs.image-version }}"' -i "${{ inputs.file-path }}" yq e '${{ inputs.image-path }} = "${{ inputs.image-version }}"' -i "${{ inputs.file-path }}"
fi fi

View File

@@ -46,10 +46,10 @@ jobs:
uses: https://gitea.ldpt.fr/actions/argocd-deploy/.gitea/workflows/deploy.yaml@main uses: https://gitea.ldpt.fr/actions/argocd-deploy/.gitea/workflows/deploy.yaml@main
with: with:
server-url: https://github.com server-url: https://github.com
argocd-repo: lucasdpt/k8s-homelab-gitops argocd-repo: lucasdpt/k8s-homelab
file-path: ${{ inputs.file-path }} file-path: ${{ inputs.file-path }}
update-helm: ${{ inputs.update-helm }} update-helm: ${{ inputs.update-helm == true }}
update-image: ${{ inputs.update-image }} update-image: ${{ inputs.update-image == true }}
helm-path: ${{ inputs.helm-path }} helm-path: ${{ inputs.helm-path }}
helm-version: ${{ inputs.helm-version }} helm-version: ${{ inputs.helm-version }}
image-path: ${{ inputs.image-path }} image-path: ${{ inputs.image-path }}