Skip to content

Commit efefc89

Browse files
committed
docs: better
1 parent 58ccdf3 commit efefc89

22 files changed

+968
-877
lines changed

.github/workflows/latest.workflow.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# name: Master Release
2+
# on:
3+
# push:
4+
# branches: [main]
5+
# pull_request:
6+
# branches: [main]
7+
# workflow_dispatch:
8+
9+
# jobs:
10+
# build-static:
11+
# runs-on: ubuntu-latest
12+
# steps:
13+
# - uses: actions/checkout@v4
14+
# with:
15+
# fetch-depth: 0
16+
# - name: npm setup
17+
# uses: actions/setup-node@v4
18+
# with:
19+
# node-version: 20
20+
# - name: Setup Go
21+
# uses: actions/setup-go@v4
22+
# with:
23+
# go-version: "1.24.x"
24+
# - name: npm install and build
25+
# run: |
26+
# cd www
27+
# npm install && npm install -g pnpm
28+
# - name: Install dependencies
29+
# run: |
30+
# go mod tidy
31+
# go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
32+
# go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
33+
# - name: Install Protoc
34+
# uses: arduino/setup-protoc@v3
35+
# - name: Compile server
36+
# run: bash ./build.sh
37+
# - uses: "marvinpinto/action-automatic-releases@latest"
38+
# with:
39+
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
40+
# prerelease: true
41+
# automatic_release_tag: latest
42+
# files: |
43+
# dist/*
44+
# - name: Setup ko
45+
# uses: ko-build/setup-ko@v0.9
46+
# env:
47+
# KO_DOCKER_REPO: docker.io/vaalacat/frp-panel
48+
# - env:
49+
# username: ${{ secrets.DOCKERHUB_USERNAME }}
50+
# password: ${{ secrets.DOCKERHUB_TOKEN }}
51+
# run: |
52+
# echo "${password}" | ko login docker.io --username ${username} --password-stdin
53+
# ko build ./cmd/frpp --sbom=none --bare

.github/workflows/tag.workflow.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,22 @@ jobs:
3535
uses: arduino/setup-protoc@v3
3636
- name: Compile server
3737
run: bash ./build.sh
38-
- uses: "marvinpinto/action-automatic-releases@latest"
38+
- name: Tag Release
39+
uses: "marvinpinto/action-automatic-releases@latest"
3940
with:
4041
repo_token: "${{ secrets.GITHUB_TOKEN }}"
4142
prerelease: false
4243
automatic_release_tag: ${{ steps.get_version.outputs.VERSION }}
4344
files: |
4445
dist/*
46+
- name: Latest Release
47+
uses: "marvinpinto/action-automatic-releases@latest"
48+
with:
49+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
50+
prerelease: true
51+
automatic_release_tag: latest
52+
files: |
53+
dist/*
4554
- name: Setup ko
4655
uses: ko-build/setup-ko@v0.9
4756
env:
@@ -52,4 +61,5 @@ jobs:
5261
password: ${{ secrets.DOCKERHUB_TOKEN }}
5362
run: |
5463
echo "${password}" | ko login docker.io --username ${username} --password-stdin
55-
ko build ./cmd/frpp --sbom=none --bare -t ${{ steps.get_version.outputs.VERSION }}
64+
ko build ./cmd/frpp --sbom=none --bare -t ${{ steps.get_version.outputs.VERSION }}
65+
ko build ./cmd/frpp --sbom=none --bare -t latest

0 commit comments

Comments
 (0)