From 7d6c0a01e5a5da4027b73f74445bff7e11dfffb0 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sat, 9 Aug 2025 19:17:52 +0200 Subject: [PATCH] ci: Fix paths for update image version --- .github/workflows/update-image-version.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-image-version.yaml b/.github/workflows/update-image-version.yaml index f8cd9c9..9537727 100644 --- a/.github/workflows/update-image-version.yaml +++ b/.github/workflows/update-image-version.yaml @@ -32,13 +32,13 @@ jobs: token: ${{ secrets.ACTIONS_GITHUB_TOKEN }} - name: Update image version run: | - sed -i -r "s/(image:.*:).*/\1${{ inputs.image_version }}/" docker/stack-config/${{ inputs.target }}/${{ inputs.application }}.yaml + sed -i -r "s/(image:.*:).*/\1${{ inputs.image_version }}/" docker/${{ inputs.target }}/stack-config/${{ inputs.application }}.yaml - name: setup git config run: | git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git config user.name "github-actions[bot]" - name: Save modified variable file run: | - git add docker/stack-config/${{ inputs.target }}/${{ inputs.application}}.yaml + git add docker/${{ inputs.target }}/stack-config/${{ inputs.application}}.yaml git diff-index --quiet HEAD || git commit -m "chore: Change ${{ inputs.application }}_image_version to ${{ inputs.image_version }}" git push \ No newline at end of file