Skip to content

Commit 0e7d84b

Browse files
committed
chore: release
1 parent 0607f19 commit 0e7d84b

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/docker-build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,12 @@ jobs:
3232
context: .
3333
push: true
3434
tags: ${{ secrets.DOCKER_USERNAME }}/${{ env.REPO_NAME }}:latest
35+
36+
- name: Create or update GitHub Release
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
run: |
40+
RELEASE_NAME="Build for branch ${{ env.BRANCH_NAME }}"
41+
RELEASE_BODY="Docker image has been built and pushed successfully.\n\nTag: ${{ secrets.DOCKER_USERNAME }}/${{ env.REPO_NAME }}:latest"
42+
gh release create "${{ env.REPO_NAME }}" --notes "$RELEASE_BODY" || \
43+
gh release edit "${{ env.REPO_NAME }}" --notes "$RELEASE_BODY"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- HTTP/HTTPS 代理:通过 Squid 提供 HTTP/HTTPS 代理服务
1212
- RDP 端口转发:通过 socat 转发 RDP 流量到目标服务器
1313
- 自动重连:内置健康检查机制确保 VPN 连接稳定
14-
- 轻量级:基于 Ubuntu 22.04 的国内源替换镜像,仅包含必要组件
14+
- 轻量级:基于 [Ubuntu 22.04 的国内源替换镜像](https://github.com/nickdlkk/ubuntu),仅包含必要组件
1515
- 简单配置:挂载单个配置文件即可启动
1616

1717
## 快速开始

0 commit comments

Comments
 (0)