ci: build + publish example container images (hello-world, echo, tiles)#18
Open
rickstaa wants to merge 1 commit into
Open
ci: build + publish example container images (hello-world, echo, tiles)#18rickstaa wants to merge 1 commit into
rickstaa wants to merge 1 commit into
Conversation
Add the images workflow: for each containerized example, build multi-arch (amd64+arm64) and push to Docker Hub as livepeer/sample-<example> on main, on v* tags, and via workflow_dispatch; PRs build-only (fork PRs have no secrets). Covers the three examples that ship a Dockerfile — hello-world, echo, and tiles (tiles was missing from the matrix/path filters). vllm is excluded; it uses an upstream image, not a local build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CjPDUcYXLR6K2ft4g7TYbt
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds
.github/workflows/images.yml— builds each containerized example and publishes to Docker Hub aslivepeer/sample-<example>.What it does
hello-world,echo,tiles— the three examples that ship aDockerfile(build context = the example's own dir).vllmis excluded; it runs an upstream image, not a local build.linux/amd64,linux/arm64via QEMU + Buildx, GHA layer cache per example.mainpushes,v*tags (versions the suite together), andworkflow_dispatch; PRs touching an example or the workflow build-only (fork PRs have no secrets), same-repo PRs and main/tags push.latest(default branch), short-sha, PR ref, semver, andstableonv*tags off main.Note
tileswas missing from the matrix/path filters even though it has a Dockerfile — added here so all three container examples are covered.CI_DOCKERHUB_USERNAME/CI_DOCKERHUB_TOKENfor the push.🤖 Generated with Claude Code