Skip to content

fix: split Dockerfile for GoReleaser and local builds#9

Merged
pavelanni merged 1 commit intomainfrom
fix/goreleaser-dockerfile
Apr 23, 2026
Merged

fix: split Dockerfile for GoReleaser and local builds#9
pavelanni merged 1 commit intomainfrom
fix/goreleaser-dockerfile

Conversation

@pavelanni
Copy link
Copy Markdown
Collaborator

Summary

  • Restore Dockerfile to expect a pre-built binary (GoReleaser passes only Dockerfile + binary into the Docker context)
  • Move full build-from-source Dockerfile to Dockerfile.local for local dev
  • Add make image target that builds via podman -c rhel using Dockerfile.local

Fixes the v0.2.0 release build failure where GoReleaser could not find go.mod in the Docker context.

Test plan

  • make image builds successfully via podman
  • GoReleaser release build passes (retag after merge)

🤖 Generated with Claude Code

GoReleaser passes only the pre-built binary into the Docker
context, so the multi-stage Go build stage breaks CI. Restore
Dockerfile to expect a pre-built binary and move the full
build-from-source version to Dockerfile.local. Add make image
target for local builds via podman.

Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Pavel Anni <panni@redhat.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Warning

Rate limit exceeded

@pavelanni has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 31 minutes and 5 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 31 minutes and 5 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6951771a-afd1-49e3-8b35-bec3f4cb1f0d

📥 Commits

Reviewing files that changed from the base of the PR and between 07d6af3 and 2b45d40.

📒 Files selected for processing (3)
  • Dockerfile
  • Dockerfile.local
  • Makefile
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/goreleaser-dockerfile

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pavelanni pavelanni merged commit 42f0474 into main Apr 23, 2026
5 checks passed
@pavelanni pavelanni deleted the fix/goreleaser-dockerfile branch April 23, 2026 01:13
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