diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index cad0b1d..d82b342 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -32,7 +32,7 @@ jobs: run: echo "vcs_ref=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - id: set_matrix - run: echo "matrix=$(bin/phpdev export-build `curl -s https://github.com/xdebug/xdebug/releases.atom | grep "[0-9]*\.[0-9]*\.[0-9]*" | awk -F '[<>]' '{ print $3; exit }'`)" >> $GITHUB_OUTPUT + run: echo "matrix=$(bin/phpdev export-build `curl -s https://github.com/xdebug/xdebug/releases.atom | grep ".*/[0-9]*\.[0-9]*\.[0-9]*" | sed -E "s/\s*.*\/([0-9]*\.[0-9]*\.[0-9]*)<\/id>/\1<\/release>/" | awk -F '[<>]' '{ print $3; exit }'`)" >> $GITHUB_OUTPUT outputs: build_date: ${{ steps.set_date.outputs.build_date }} diff --git a/.github/workflows/docker-inspect.yml b/.github/workflows/docker-inspect.yml index 07994ed..3d70963 100644 --- a/.github/workflows/docker-inspect.yml +++ b/.github/workflows/docker-inspect.yml @@ -33,7 +33,7 @@ jobs: run: echo "vcs_ref=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - id: set_matrix - run: echo "matrix=$(bin/phpdev export-build `curl -s https://github.com/xdebug/xdebug/releases.atom | grep "[0-9]*\.[0-9]*\.[0-9]*" | awk -F '[<>]' '{ print $3; exit }'`)" >> $GITHUB_OUTPUT + run: echo "matrix=$(bin/phpdev export-build `curl -s https://github.com/xdebug/xdebug/releases.atom | grep ".*/[0-9]*\.[0-9]*\.[0-9]*" | sed -E "s/\s*.*\/([0-9]*\.[0-9]*\.[0-9]*)<\/id>/\1<\/release>/" | awk -F '[<>]' '{ print $3; exit }'`)" >> $GITHUB_OUTPUT outputs: build_date: ${{ steps.set_date.outputs.build_date }}