This repository was archived by the owner on Mar 18, 2026. It is now read-only.
feat: add Docker publish pipeline with Release Please - #21
Merged
Conversation
Adds googleapis/release-please-action@v4 with release-type: simple. Simple release type manages CHANGELOG.md and git tags without requiring package.json. Creates the v* tags consumed by the upcoming Docker publish workflow. Also adds .markdownlintignore to exclude the auto-generated CHANGELOG.md from markdownlint CI checks. Co-Authored-By: Claude <noreply@anthropic.com>
Builds and pushes multi-platform (linux/amd64, linux/arm64) Docker image to ghcr.io on every push to main and on v* release tags. Uses GHA layer caching for faster builds, docker/metadata-action for tag strategy (branch, tag, latest, sha, semver), and actions/attest-build-provenance for SLSA supply chain attestation. No extra secrets needed — GITHUB_TOKEN authenticates to ghcr.io. Co-Authored-By: Claude <noreply@anthropic.com>
Inserts a Trivy image scan step after the build and before attestation. Results are uploaded as SARIF to the GitHub Security tab for CVE visibility. Scan is non-blocking (continue-on-error: true) so image publishing is not gated on scan findings. Filters to CRITICAL and HIGH severity only to reduce noise, and ignores unfixed vulnerabilities. Co-Authored-By: Claude <noreply@anthropic.com>
Remove the embedded entrypoint.sh and Dockerfile heredocs from vps-setup.sh since the pre-built ghcr.io/aibtcdev/openclaw-aibtc image already contains everything needed. Replace 'build: .' with 'image: ghcr.io/aibtcdev/openclaw-aibtc:latest' in the generated docker-compose.yml and remove the 'docker compose build' step. This simplifies setup for VPS users: docker compose up -d will pull the pre-built image automatically without requiring a local build. Co-Authored-By: Claude <noreply@anthropic.com>
Remove the embedded entrypoint.sh and Dockerfile heredocs from local-setup.sh since the pre-built ghcr.io/aibtcdev/openclaw-aibtc image already contains everything needed. Replace 'build: .' with 'image: ghcr.io/aibtcdev/openclaw-aibtc:latest' in the generated docker-compose.yml and remove the 'docker compose build' step. This simplifies setup for local (Docker Desktop) users: docker compose up -d will pull the pre-built image automatically without requiring a local build. Co-Authored-By: Claude <noreply@anthropic.com>
…mage Add 'image: ghcr.io/aibtcdev/openclaw-aibtc:latest' to the repo-root docker-compose.yml alongside the existing 'build:' section. This allows developers to use 'docker compose build' for local development while also naming the built image consistently with the published registry image. Co-Authored-By: Claude <noreply@anthropic.com>
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
simpletype) for automated semver tagging and changelog generationimage:field to repo-root docker-compose.yml alongsidebuild:for flexibilityManual step required
Enable "Allow GitHub Actions to create and approve pull requests" in repo Settings > Actions > General > Workflow permissions (already done).
Test plan
v1.0.0tagged image appears on ghcr.iovps-setup.shpulls pre-built image instead of buildingCloses #20
🤖 Generated with Claude Code