Skip to content

Release

Release #32

Workflow file for this run

on:
push:
tags:
- 'v*'
workflow_dispatch:
env:
COMPOSE_FILE: docker-compose.yaml
name: Release
jobs:
build:
strategy:
matrix:
include:
- arch: arm64
os: macos-14
- arch: amd64
os: ubuntu-latest
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: build
run: make pkg
env:
DOCKER_DEFAULT_PLATFORM: linux/${{ matrix.arch}}
- 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