Skip to content

Commit

Permalink
Build and publish the binaries automatically on release
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Mert Yildiran committed Feb 13, 2022
1 parent 7d92e43 commit b07153f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,22 @@ jobs:
while IFS= read -r line; do
docker manifest push $line
done <<< "${{ steps.meta.outputs.tags }}"
binaries:
name: Build and Publish The Binaries
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Build
run: make build-all

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit b07153f

Please sign in to comment.