From fb9e333cc514410ea832d0dc7fb1bf1ddb564ee3 Mon Sep 17 00:00:00 2001 From: bococ Date: Wed, 18 Oct 2023 10:16:24 +0800 Subject: [PATCH 1/2] fix: ci main tag Analyzing conditions --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10c8016..bca568e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: MARKDOWN_CONFIG_FILE: .markdownlint.yml main: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'bococ/redis-operator' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'zncdata-labs/spark-k8s-operator' runs-on: ubuntu-latest needs: - build @@ -82,7 +82,7 @@ jobs: make bundle-buildx tags: - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'bococ/redis-operator' + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && github.repository == 'zncdata-labs/spark-k8s-operator' runs-on: ubuntu-latest needs: - build From b41f221f618d6b946ff86d848b170a35287c7914 Mon Sep 17 00:00:00 2001 From: bococ Date: Wed, 18 Oct 2023 10:24:35 +0800 Subject: [PATCH 2/2] fix: ci build stage --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bca568e..28b2d15 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,10 @@ jobs: uses: docker/setup-qemu-action@v2 # 设置 Docker Buildx,用于构建多平台的 Docker 镜像 - - name: Set up Docker Buildx + - name: Set up Build uses: docker/setup-buildx-action@v2 - run: | - make docker-build + make build linting: name: Lint Code Base