Sync OpenClaw GHCR Image #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync Moltbot GHCR Image | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| sourceTag: | |
| description: "Source tag on ghcr.io/openclaw/openclaw" | |
| default: "2026.1.29" | |
| required: true | |
| targetTag: | |
| description: "Target tag on 1panel/openclaw" | |
| default: "2026.1.29" | |
| required: true | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
| - name: Copy Multi-Arch Image (tag + latest) | |
| run: | | |
| set -euo pipefail | |
| docker buildx imagetools create \ | |
| --tag 1panel/openclaw:${{ github.event.inputs.targetTag }} \ | |
| --tag 1panel/openclaw:latest \ | |
| ghcr.io/openclaw/openclaw:${{ github.event.inputs.sourceTag }} |