diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 9368a42..5811bb0 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -50,7 +50,7 @@ jobs: - name: Update GITHUB_CLI_VERSION run: | echo "${{ env.gh_version }}" | grep -Pq "^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$" - find . -name Dockerfile -print0 | xargs -0 sed -i -E "s/^(ENV GITHUB_CLI_VERSION\s*).*$/\1${{ env.gh_version }}/g" + find . -name Dockerfile -print0 | xargs -0 sed -i -E "s/^(ENV GITHUB_CLI_VERSION=).*$/\1${{ env.gh_version }}/g" - name: Login to GitHub Container Registry uses: docker/login-action@v3.5.0