1- name : Build Moltbot Image
1+ name : Build OpenClaw Image
22
33on :
44 push :
55 tags :
66 - " v*"
77 workflow_dispatch :
88 inputs :
9- moltbotTag :
10- description : " Moltbot Release Tag"
9+ openclawTag :
10+ description : " OpenClaw Release Tag"
1111 required : true
1212 platforms :
1313 description : " Platforms"
4040 - name : Resolve Tag
4141 id : tag
4242 run : |
43- if [ -n "${{ github.event.inputs.moltbotTag }}" ]; then
44- raw_tag="${{ github.event.inputs.moltbotTag }}"
43+ if [ -n "${{ github.event.inputs.openclawTag }}" ]; then
44+ raw_tag="${{ github.event.inputs.openclawTag }}"
4545 else
4646 raw_tag="${GITHUB_REF_NAME}"
4747 fi
@@ -52,31 +52,31 @@ jobs:
5252 - name : Download Source
5353 run : |
5454 set -euo pipefail
55- mkdir -p _src/moltbot
56- curl -fsSL "https://github.com/moltbot/moltbot /archive/refs/tags/${{ steps.tag.outputs.value }}.tar.gz" \
57- | tar -xz -C _src/moltbot --strip-components=1
55+ mkdir -p _src/openclaw
56+ curl -fsSL "https://github.com/openclaw/openclaw /archive/refs/tags/${{ steps.tag.outputs.value }}.tar.gz" \
57+ | tar -xz -C _src/openclaw --strip-components=1
5858
59- - name : Build Moltbot Image and Push
59+ - name : Build OpenClaw Image and Push
6060 uses : docker/build-push-action@v5
6161 with :
62- context : _src/moltbot
63- file : moltbot /Dockerfile
62+ context : _src/openclaw
63+ file : openclaw /Dockerfile
6464 platforms : ${{ github.event.inputs.platforms || 'linux/amd64,linux/arm64/v8' }}
6565 push : true
6666 tags : |
67- 1panel/moltbot :${{ steps.tag.outputs.clean }}
67+ 1panel/openclaw :${{ steps.tag.outputs.clean }}
6868 cache-from : type=gha
6969 cache-to : type=gha,mode=max
7070
7171 - name : Push Latest Tag
7272 if : ${{ github.event_name == 'push' || github.event.inputs.pushLatest == 'true' }}
7373 uses : docker/build-push-action@v5
7474 with :
75- context : _src/moltbot
76- file : moltbot /Dockerfile
75+ context : _src/openclaw
76+ file : openclaw /Dockerfile
7777 platforms : ${{ github.event.inputs.platforms || 'linux/amd64,linux/arm64/v8' }}
7878 push : true
7979 tags : |
80- 1panel/moltbot :latest
80+ 1panel/openclaw :latest
8181 cache-from : type=gha
8282 cache-to : type=gha,mode=max
0 commit comments