diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index f87ca81b..5b711585 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -86,7 +86,7 @@ jobs: run: | if [[ ${{ steps.meta.outputs.VERSION }} =~ ^[0-9]+\.[0-9]+\.[0-9]+(-.*)?$ ]]; then sed -i "s/^VERSION=.*/VERSION=${{ steps.meta.outputs.VERSION }}/" ./app/.env - jq '.version = ${{ steps.meta.outputs.VERSION }}' ./app/config.json > updated.json + jq --arg VERSION "${{ steps.meta.outputs.VERSION }}" '.version = $VERSION' ./app/config.json > updated.json mv updated.json ./app/config.json fi