Skip to content

Add GitHub Actions workflow for automated Docker builds#1

Merged
willnewby merged 1 commit intomainfrom
add-github-actions-workflow
Oct 17, 2025
Merged

Add GitHub Actions workflow for automated Docker builds#1
willnewby merged 1 commit intomainfrom
add-github-actions-workflow

Conversation

@willnewby
Copy link
Copy Markdown
Owner

Summary

  • Adds GitHub Actions workflow for automated multi-architecture Docker builds
  • Workflow validates builds on PRs and publishes to GHCR on merges to main
  • Adds net-tools package to Dockerfile for additional networking utilities
  • Adds CLAUDE.md project documentation

Changes

GitHub Actions Workflow (.github/workflows/docker-build.yml)

  • Builds for linux/amd64, linux/arm/v7, and linux/arm64/v8 platforms
  • On pull requests: validates the build without pushing
  • On push to main: builds and pushes to ghcr.io/willnewby/kshell
  • Tags images with both latest and {DATE}-{GITSHA} format
  • Uses GitHub Actions cache for faster subsequent builds
  • Authenticates to GHCR using built-in GITHUB_TOKEN (no secrets required)

Dockerfile

  • Added net-tools package for additional networking utilities (netstat, ifconfig, etc.)

CLAUDE.md

  • Added project documentation to assist Claude Code with context about the repository

Test Plan

  • Verify the GitHub Actions workflow triggers on this PR
  • Check that the Docker build completes successfully for all platforms
  • Confirm the build does not attempt to push (PR behavior)
  • After merge, verify images are pushed to ghcr.io with correct tags

🤖 Generated with Claude Code

This commit introduces a GitHub Actions workflow that automates the building and publishing of kshell container images. The workflow:

- Builds multi-architecture images (linux/amd64, linux/arm/v7, linux/arm64/v8)
- Runs on PRs to main (build only, no push) to validate changes
- Runs on push to main (build and push to ghcr.io)
- Tags images with both 'latest' and '{DATE}-{GITSHA}' format
- Uses GitHub Actions cache for faster builds
- Authenticates to GHCR using GITHUB_TOKEN

Also includes:
- net-tools added to Dockerfile for additional networking utilities
- CLAUDE.md with project documentation for AI assistance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@willnewby willnewby merged commit 47549cb into main Oct 17, 2025
1 check passed
@willnewby willnewby deleted the add-github-actions-workflow branch October 17, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant