|
@@ -38,11 +38,7 @@ jobs:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-depth: 0
|
|
- - uses: docker/setup-buildx-action@v2
|
|
|
|
- uses: docker/setup-qemu-action@v2
|
|
- uses: docker/setup-qemu-action@v2
|
|
- with:
|
|
|
|
- image: tonistiigi/binfmt:latest
|
|
|
|
- platforms: all
|
|
|
|
- uses: docker/setup-buildx-action@v2
|
|
- uses: docker/setup-buildx-action@v2
|
|
- name: build
|
|
- name: build
|
|
if: matrix.os == 'debian'
|
|
if: matrix.os == 'debian'
|
|
@@ -53,7 +49,7 @@ jobs:
|
|
--env KUIPER_SOURCE='/ekuiper' \
|
|
--env KUIPER_SOURCE='/ekuiper' \
|
|
--platform ${{ matrix.arch }} \
|
|
--platform ${{ matrix.arch }} \
|
|
ghcr.io/lf-edge/ekuiper/base:${{ matrix.golang }}-${{ matrix.os }} \
|
|
ghcr.io/lf-edge/ekuiper/base:${{ matrix.golang }}-${{ matrix.os }} \
|
|
- bash -euc "make pkg && make pkg_core && .github/scripts/test.sh"
|
|
|
|
|
|
+ bash -euc "git config --global --add safe.directory /ekuiper && make pkg && make pkg_core && .github/scripts/test.sh"
|
|
- name: build
|
|
- name: build
|
|
if: matrix.os == 'centos'
|
|
if: matrix.os == 'centos'
|
|
run: |
|
|
run: |
|
|
@@ -229,7 +225,7 @@ jobs:
|
|
--workdir /ekuiper \
|
|
--workdir /ekuiper \
|
|
--platform ${{ matrix.arch }} \
|
|
--platform ${{ matrix.arch }} \
|
|
ghcr.io/lf-edge/ekuiper/base:${{ matrix.golang }}-${{ matrix.os[0] }} \
|
|
ghcr.io/lf-edge/ekuiper/base:${{ matrix.golang }}-${{ matrix.os[0] }} \
|
|
- bash -euc "make ${{ matrix.plugin }}"
|
|
|
|
|
|
+ bash -euc "git config --global --add safe.directory /ekuiper && make ${{ matrix.plugin }}"
|
|
- name: Build ekuiper image
|
|
- name: Build ekuiper image
|
|
uses: docker/build-push-action@v3
|
|
uses: docker/build-push-action@v3
|
|
if: matrix.arch == 'linux/amd64'
|
|
if: matrix.arch == 'linux/amd64'
|