3 Commits

Author SHA1 Message Date
zertus 1527ea14bc feat: update path
semantic-release / release (push) Successful in 13s
2026-05-02 16:28:41 +00:00
lucasdpt 874e8ec4b8 feat: try to fix
semantic-release / release (push) Successful in 28s
2026-04-21 14:26:05 +02:00
lucasdpt 35ba1f1a5a fix: deploy
semantic-release / release (push) Successful in 29s
2026-04-11 17:29:39 +02:00
2 changed files with 11 additions and 10 deletions
+8 -7
View File
@@ -65,13 +65,14 @@ jobs:
token: ${{ secrets.TOKEN }}
github-server-url: ${{ inputs.server-url }}
- name: Update Helm chart version
if: ${{ inputs.update-helm == 'true' }}
run: yq e '${{ inputs.helm-path }} = "${{ inputs.helm-version }}"' -i "${{ inputs.file-path }}"
- name: Update image tag
if: ${{ inputs.update-image == 'true' }}
run: yq e '${{ inputs.image-path }} = "${{ inputs.image-version }}"' -i "${{ inputs.file-path }}"
- name: Update values
run: |
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 }}"
fi
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 }}"
fi
- name: Commit and push changes
run: |
+3 -3
View File
@@ -46,10 +46,10 @@ jobs:
uses: https://gitea.ldpt.fr/actions/argocd-deploy/.gitea/workflows/deploy.yaml@main
with:
server-url: https://github.com
argocd-repo: lucasdpt/k8s-homelab-gitops
argocd-repo: lucasdpt/homelab-argocd
file-path: ${{ inputs.file-path }}
update-helm: ${{ inputs.update-helm }}
update-image: ${{ inputs.update-image }}
update-helm: ${{ inputs.update-helm == true }}
update-image: ${{ inputs.update-image == true }}
helm-path: ${{ inputs.helm-path }}
helm-version: ${{ inputs.helm-version }}
image-path: ${{ inputs.image-path }}