Skip to content

Commit 618f450

Browse files
author
anahan
committed
Add github action
1 parent cb15ddf commit 618f450

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
release:
3+
types: [created]
4+
5+
permissions:
6+
contents: write
7+
packages: write
8+
9+
jobs:
10+
releases-matrix:
11+
name: Release Go Binary
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
goos: [linux, darwin]
16+
goarch: [amd64, arm64]
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: wangyoucao577/go-release-action@v1
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
goos: ${{ matrix.goos }}
23+
goarch: ${{ matrix.goarch }}
24+
project_path: "./cmd/docker-fpm-wrapper"
25+
binary_name: "docker-fpm-wrapper"
26+
extra_files: LICENSE README.md

0 commit comments

Comments
 (0)