diff --git a/.github/workflows/build-exec.yml b/.github/workflows/build-exec.yml deleted file mode 100644 index 763cb92..0000000 --- a/.github/workflows/build-exec.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build Docker Images - -on: - workflow_call: -jobs: - releases-matrix: - name: Release Go Binary - runs-on: ubuntu-latest - strategy: - matrix: - # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 - goos: [linux, windows, darwin] - goarch: [amd64, arm64] - steps: - - uses: actions/checkout@v4 - - uses: wangyoucao577/go-release-action@v1.48 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: ${{ matrix.goos }} - goarch: ${{ matrix.goarch }} - goversion: "https://dl.google.com/go/go1.22.0.linux-amd64.tar.gz" - project_path: "./" - binary_name: "conduktor" \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f212608..629fe4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,8 +82,21 @@ jobs: run: ./test_final_exec.sh build-exec: needs: [unit-test, integration-test] - name: Build exec - uses: ./.github/workflows/build-exec.yml + steps: + - uses: actions/checkout@v4 + - uses: wangyoucao577/go-release-action@v1.48 + strategy: + matrix: + # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 + goos: [linux, windows, darwin] + goarch: [amd64, arm64] + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: ${{ matrix.goos }} + goarch: ${{ matrix.goarch }} + goversion: "1.22.0" + project_path: "./" + binary_name: "conduktor" build-docker: name: Build and publish conduktorctl images uses: ./.github/workflows/build-docker.yml