Release #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- 'v*' | |
workflow_dispatch: | |
env: | |
COMPOSE_FILE: docker-compose.yaml | |
name: Release | |
jobs: | |
build: | |
strategy: | |
matrix: | |
arch: | |
- arm64 | |
- amd64 | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: linux/${{ matrix.arch}} | |
- name: build | |
run: make pkg | |
- name: donwload ghr | |
run: | | |
curl -L -O -s https://github.com/tcnksm/ghr/releases/download/v0.16.2/ghr_v0.16.2_linux_amd64.tar.gz | |
tar zxf ghr_v0.16.2_linux_amd64.tar.gz | |
sudo mv ghr_v0.16.2_linux_amd64/ghr /usr/bin | |
- name: release | |
run: make github_release |