Skip to content

OpenListTeam/docker-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-library

Fork 后的 GitHub Actions 配置

以下内容基于当前工作流整理:

必须配置(Secrets)

配置项 作用 来源 备注
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

Fork 后最小可用清单

  1. 在仓库 Settings -> Secrets and variables -> Actions -> Secrets 新增 DOCKERHUB_TOKEN。
  2. 可选:在 Variables 新增 DOCKERHUB_ORG_NAME、GHCR_ORG_NAME、ALPINE_VERSION。
  3. Actions 页面手动触发:
    • Build Base Docker Image
    • Build Aria2 Docker Image (Matrix)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors