Skip to content

Commit

Permalink
Create artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
strokyl committed Feb 14, 2024
1 parent fef2c75 commit 622d888
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-exec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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/[email protected]
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"
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- uses: actions/checkout@v3
- name: run test
run: ./test_final_exec.sh
build-exec:
name: Build exec
uses: ./.github/workflows/build-exec.yml
build-docker:
name: Build and publish conduktorctl images
uses: ./.github/workflows/build-docker.yml
Expand Down

0 comments on commit 622d888

Please sign in to comment.