Skip to content

feat: add distroless Docker image and GHCR publish#271

Merged
retr0h merged 5 commits intomainfrom
feat/docker-ghcr
Mar 15, 2026
Merged

feat: add distroless Docker image and GHCR publish#271
retr0h merged 5 commits intomainfrom
feat/docker-ghcr

Conversation

@retr0h
Copy link
Collaborator

@retr0h retr0h commented Mar 15, 2026

Summary

  • Update Dockerfile: Go 1.25, distroless base (gcr.io/distroless/static-debian12:nonroot), static binary
  • Add docker-publish.yml workflow that builds and pushes to ghcr.io/osapi-io/osapi:latest on every push to main

Test plan

🤖 Generated with Claude Code

Update Dockerfile to use distroless base image with multi-stage
build. Add docker-publish.yml workflow that builds and pushes
to ghcr.io on every push to main.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Contributor

Thank you for contributing to this project! 😊🕹️

retr0h and others added 2 commits March 15, 2026 16:29
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add docker module to justfile with fetch lines. Update
docker-publish workflow to use just docker::build and push.
Add Docker install section to intro docs.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #271   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files         227      227           
  Lines        9925     9925           
=======================================
  Hits         9910     9910           
  Misses         11       11           
  Partials        4        4           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82a2a6e...5112129. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

retr0h and others added 2 commits March 15, 2026 16:42
GoReleaser builds snapshot binaries with version ldflags,
then buildx builds and pushes a multi-arch image (amd64 +
arm64) to ghcr.io on every push to main.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@retr0h retr0h merged commit e5c0fc4 into main Mar 15, 2026
11 checks passed
@retr0h retr0h deleted the feat/docker-ghcr branch March 15, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant