Repository files navigation
Fork 后的 GitHub Actions 配置
以下内容基于当前工作流整理:
配置项
作用
来源
备注
DOCKERHUB_TOKEN
登录 DockerHub 并推送镜像
两个 workflow 都使用 secrets.DOCKERHUB_TOKEN
建议使用 DockerHub Access Token
建议配置(Repository Variables)
配置项
作用
build-base-image 默认值
build-aria2 默认值
DOCKERHUB_ORG_NAME
DockerHub 命名空间
vars.DOCKERHUB_ORG_NAME -> github.repository_owner
workflow_dispatch 输入值 -> vars.DOCKERHUB_ORG_NAME -> github.repository_owner
GHCR_ORG_NAME
GHCR 命名空间
vars.GHCR_ORG_NAME -> github.repository_owner
workflow_dispatch 输入值 -> vars.GHCR_ORG_NAME -> github.repository_owner
ALPINE_VERSION
统一 Alpine 基础镜像版本(传递到 base/aria2 构建参数)
3.24
3.24
配置项
说明
GITHUB_TOKEN
GitHub Actions 自动提供,当前 workflow 已声明 permissions.packages: write
在仓库 Settings -> Secrets and variables -> Actions -> Secrets 新增 DOCKERHUB_TOKEN。
可选:在 Variables 新增 DOCKERHUB_ORG_NAME、GHCR_ORG_NAME、ALPINE_VERSION。
在 Actions 页面手动触发:
Build Base Docker Image
Build Aria2 Docker Image (Matrix)
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
You can’t perform that action at this time.