mirror of
https://github.com/zgs225/secgate-vpn-docker.git
synced 2026-11-25 17:01:17 +08:00
feat(ci): main 分支构建镜像并发布到 GHCR
- .github/workflows/docker.yml:push main / tag v* 构建 linux/amd64 镜像推 ghcr.io/zgs225/secgate-vpn-docker(latest、客户端版本、sha-、semver tag), PR 只构建 + 冒烟检查;厂商 deb 由 fetch-client-deb.sh 在 CI 取包并校验,按 版本缓存 - compose/Makefile/deploy-nas.sh 默认镜像改为 ghcr.io,新增 make pull, NAS 部署优先 docker pull,失败再回退 save/load - README/SECURITY/vendor 文档补充 GHCR 用法与包可见性说明 - Dockerfile 补 OCI source/url/licenses 标签
This commit is contained in:
1 parent
a677576712
commit
cf2bbbb3d9
8 files changed
+213
-17
No files matched your search
+3
-1
@@ -1,10 +1,12 @@
|
||||
services:
|
||||
# 默认服务:图形客户端 + noVNC + SOCKS5(二次认证只能在这个界面里点)
|
||||
secgate-gui:
|
||||
# 默认用 GitHub Actions 发布到 GHCR 的镜像;本地 build 会打成同一个 tag。
|
||||
# 想换 tag/仓库:SECGATE_IMAGE=ghcr.io/<owner>/<repo>:<tag> make up
|
||||
image: ${SECGATE_IMAGE:-ghcr.io/zgs225/secgate-vpn-docker:latest}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: local/secgate-gui:1.1.3.1010701
|
||||
container_name: secgate-gui
|
||||
hostname: secgate-gui
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in new issue
Block a user