Skip to content

ActionBot 源码同步 编译容器

Notifications You must be signed in to change notification settings

bigbugcc/ActionBot

Repository files navigation

ActionBot CI/CD

自动更新源码发布容器

Contributors Forks Stargazers Issues


Logo

ActionBot CI/CD

👉 自动更新源码发布容器 [ Releases ] 👈
DockerHub · Action · 提出新特性

目录

项目列表statistics

项目 类别 Repo Action 状态 统计 入口
3x-ui Docker 🚩 🍕
Admin.NET 镜像库 🚩 🍕
OpenWRT Build 🚩 🍕
WarpPlus-Traffic Task 🚩 🍕 WarpPlus
WarpPlus-Docker Docker 🚩 🍕 WarpPlus

ActionBot-Param

Hello

ActionBot 是一个监听自动化执行项目,ActionBot会检测当前仓库下的Workflow并自动根据条件触发它们;可用于跨平台(GitHub <-> Gitee)同步仓库、自动发布Releases、编译Docker和定时任务等;对于一些没有提供适合自己的容器或应用进行二次独立发布Demo

Usage

    steps:
    - name: Checkout
      uses: actions/checkout@v4

    - name: AutoTrigger
      uses: bigbugcc/ActionBot@main

    ...

Actoin Param

token:
    description: 'The token used to authenticate.'
    required: true
    default: ${{ github.token }}

  repository:
    description: 'The name of the repository.'
    required: true
    default: ${{ github.repository }}

  workflow:
    description: 'The name of the current workflow.'
    required: true
    default: ${{ github.workflow }}

  workspace:
    description: 'The workspace of the current repo.'
    required: true
    default: ${{ github.workspace }}

Trigger Param

env:
  repo_url: '' 
  force_active: 1
  • repo_url : 监听的仓库地址,根据该地址判断commitId是否变化,而触发当前Workflow;可以为空。
  • force_active : 0,1,2
    0 -> 默认值,会根据repo的值进行判断;
    1 -> 强制执行当前Workflow,不判断CommitId;
    2 -> 跳过执行,即使Repo不为空也会直接跳过;

ActionBot Example

3x-ui-Docker

Docker Usage

docker run -itd \
   -e XRAY_VMESS_AEAD_FORCED=false \
   -v $PWD/db/:/etc/x-ui/ \
   -v $PWD/cert/:/root/cert/ \
   --network=host \
   --restart=unless-stopped \
   --name 3x-ui \
   bigbugcc/3x-ui:latest

Default Setting

WarpPlus-Docker

Repo:https://github.com/bigbugcc/ActionBot
warp-plus:https://github.com/bepass-org/warp-plus

Default Setting

  • Port: 1080
  • Warp Config Path:
    • /etc/warp/config.json

Parameter

/etc/warp/config.json

NAME
  warp-plus

FLAGS
  -4                       only use IPv4 for random warp endpoint
  -6                       only use IPv6 for random warp endpoint
  -v, --verbose            enable verbose logging
  -b, --bind STRING        socks bind address (default: 127.0.0.1:8086)
  -e, --endpoint STRING    warp endpoint
  -k, --key STRING         warp key
      --dns STRING         DNS address (default: 1.1.1.1)
      --gool               enable gool mode (warp in warp)
      --cfon               enable psiphon mode (must provide country as well)
      --country STRING     psiphon country code (valid values: [AT BE BG BR CA CH CZ DE DK EE ES FI FR GB HR HU IE IN IT JP LV NL NO PL PT RO RS SE SG SK UA US]) (default: AT)
      --scan               enable warp scanning
      --rtt DURATION       scanner rtt limit (default: 1s)
      --cache-dir STRING   directory to store generated profiles
      --tun-experimental   enable tun interface (experimental)
      --fwmark UINT        set linux firewall mark for tun mode (default: 4981)
      --reserved STRING    override wireguard reserved value (format: '1,2,3')
      --wgconf STRING      path to a normal wireguard config
  -c, --config STRING      path to config file
      --version            displays version number

Usage

Modify config '/etc/warp/config.json'

docker run -itd \
   -v /etc/warp/:/etc/warp/ \
   --network=host \
   --restart=unless-stopped \
   --name warp-plus \
   bigbugcc/warp-plus:latest