Skip to content

Commit 8dcdcac

Browse files
nikicatclaude
andcommitted
feat: add release badge and GitHub Actions release workflow
Builds linux/amd64 and linux/arm64 binaries on release creation and uploads them as release assets. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent adbcd6e commit 8dcdcac

File tree

3 files changed

+52
-5
lines changed

3 files changed

+52
-5
lines changed

.github/workflows/release.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
include:
16+
- goos: linux
17+
goarch: amd64
18+
- goos: linux
19+
goarch: arm64
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- uses: actions/setup-go@v5
24+
with:
25+
go-version-file: go.mod
26+
27+
- uses: denoland/setup-deno@v2
28+
with:
29+
deno-version: v2.x
30+
31+
- name: Build frontend
32+
run: make frontend && mkdir -p internal/api/web && cp -r web/dist internal/api/web/
33+
34+
- name: Build binary
35+
env:
36+
GOOS: ${{ matrix.goos }}
37+
GOARCH: ${{ matrix.goarch }}
38+
CGO_ENABLED: "0"
39+
run: |
40+
go build -ldflags "-X main.version=${{ github.ref_name }} -s -w" \
41+
-o secrets-dispatcher-${{ matrix.goos }}-${{ matrix.goarch }} .
42+
43+
- name: Upload to release
44+
env:
45+
GH_TOKEN: ${{ github.token }}
46+
run: |
47+
gh release upload ${{ github.ref_name }} \
48+
secrets-dispatcher-${{ matrix.goos }}-${{ matrix.goarch }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![CI](https://github.com/nikicat/secrets-dispatcher/actions/workflows/check.yml/badge.svg)](https://github.com/nikicat/secrets-dispatcher/actions/workflows/check.yml)
44
[![Go Report Card](https://goreportcard.com/badge/github.com/nikicat/secrets-dispatcher)](https://goreportcard.com/report/github.com/nikicat/secrets-dispatcher)
5+
[![Release](https://img.shields.io/github/v/release/nikicat/secrets-dispatcher)](https://github.com/nikicat/secrets-dispatcher/releases/latest)
56
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
67

78
Per-operation approval and audit logging for secret access and git commit signing on Linux.

docs/PROMOTION.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,10 @@ Checklist for increasing project visibility and adoption.
6262

6363
### Packaging
6464

65-
- [ ] **AUR** — Create package (Arch Linux users are a core audience)
65+
- [x] **AUR** — Create package (Arch Linux users are a core audience)
6666
- [ ] **Nixpkgs** — High priority. Nix users care deeply about reproducibility and security.
67-
- [ ] **Homebrew (linuxbrew)** — Easy entry point for developers
6867
- [ ] **Fedora COPR** — Covers Fedora users
69-
- [ ] **Pre-built binaries** — GitHub Releases with Linux amd64/arm64 binaries (release workflow may need setup)
68+
- [x] **Pre-built binaries** — GitHub Releases with Linux amd64/arm64 binaries
7069

7170
### Project Credibility Signals
7271

@@ -77,7 +76,7 @@ Checklist for increasing project visibility and adoption.
7776
- [ ] **Additional badges in README**:
7877
- [ ] Code coverage
7978
- [x] Go Report Card
80-
- [ ] Latest release version
79+
- [x] Latest release version
8180

8281
- [ ] **CHANGELOG.md** — Running changelog ([keepachangelog.com](https://keepachangelog.com/) format).
8382

@@ -115,7 +114,6 @@ Checklist for increasing project visibility and adoption.
115114

116115
- [ ] **Man page**`secrets-dispatcher(1)`. Expected by distro packagers.
117116

118-
- [ ] **Grafana dashboard template** — For users who ship logs to Loki/Elasticsearch. Pre-built dashboard showing secret access patterns.
119117

120118
## Cross-Promotion with gopass-secret-service
121119

0 commit comments

Comments
 (0)