Diff
1diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
2index ca61004fd39a38cd7a0716c6bfcb25a90ea6abe3..e1d9987da2342e7ea2a3539cfc580fa0943190ea 100644
3--- a/.github/workflows/build.yml
4+++ b/.github/workflows/build.yml
5@@ -29,9 +29,23 @@ jobs:
6 - name: Test
7 run: go test ./...
8
9- nightly:
10- uses: charmbracelet/meta/.github/workflows/nightly.yml@main
11- secrets:
12- docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
13- docker_token: ${{ secrets.DOCKERHUB_TOKEN }}
14- goreleaser_key: ${{ secrets.GORELEASER_KEY }}
15+ goreleaser:
16+ env:
17+ GO111MODULE: "on"
18+ DOCKER_CLI_EXPERIMENTAL: enabled
19+ runs-on: ubuntu-latest
20+ steps:
21+ - uses: actions/setup-go@v2
22+ with:
23+ go-version: "~1.17"
24+ - uses: actions/checkout@v2
25+ - uses: anchore/sbom-action/download-syft@v0.6.0
26+ - uses: docker/setup-qemu-action@v1
27+ - uses: docker/setup-buildx-action@v1
28+ - uses: goreleaser/goreleaser-action@v2
29+ with:
30+ distribution: goreleaser-pro
31+ version: latest
32+ args: --snapshot --skip-sign
33+ env:
34+ GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
35diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
36new file mode 100644
37index 0000000000000000000000000000000000000000..28f61f76ae43d54d7fbbd04d2b21f466fa0fccfe
38--- /dev/null
39+++ b/.github/workflows/nightly.yml
40@@ -0,0 +1,14 @@
41+name: nightly
42+
43+on:
44+ push:
45+ branches:
46+ - main
47+
48+jobs:
49+ nightly:
50+ uses: charmbracelet/meta/.github/workflows/nightly.yml@main
51+ secrets:
52+ docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
53+ docker_token: ${{ secrets.DOCKERHUB_TOKEN }}
54+ goreleaser_key: ${{ secrets.GORELEASER_KEY }}
55diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml
56deleted file mode 100644
57index e9356a5afc9c39a086ced0e69540041621acbba0..0000000000000000000000000000000000000000
58--- a/.github/workflows/pr-comment.yml
59+++ /dev/null
60@@ -1,10 +0,0 @@
61-name: pr-comment
62-
63-on:
64- workflow_run:
65- workflows: [build]
66- types: [completed]
67-
68-jobs:
69- pr-comment:
70- uses: charmbracelet/meta/.github/workflows/pr-comment.yml@main
71diff --git a/README.md b/README.md
72index bdc4d185d2ed51b0ab19b99a92d260d8d37d0ab5..f226046e902d0c3bebbd393a88519c5ca10e385d 100644
73--- a/README.md
74+++ b/README.md
75@@ -8,7 +8,7 @@ Soft Serve
76 </picture><br>
77 <a href="https://github.com/charmbracelet/soft-serve/releases"><img src="https://img.shields.io/github/release/charmbracelet/soft-serve.svg" alt="Latest Release"></a>
78 <a href="https://github.com/charmbracelet/soft-serve/actions"><img src="https://github.com/charmbracelet/soft-serve/workflows/build/badge.svg" alt="Build Status"></a>
79- <a href="https://nightly.link/charmbracelet/soft-serve/workflows/build/main"><img src="https://shields.io/badge/-Nightly%20Builds-orange?logo=hackthebox&logoColor=fff&style=appveyor"/></a>
80+ <a href="https://nightly.link/charmbracelet/soft-serve/workflows/nightly/main"><img src="https://shields.io/badge/-Nightly%20Builds-orange?logo=hackthebox&logoColor=fff&style=appveyor"/></a>
81 </p>
82
83 A tasty, self-hostable Git server for the command line. 🍦