Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Restructuring + Prod Dockerfile #90

Merged
merged 6 commits into from
Jul 6, 2024
Merged

Conversation

kelvinmwinuka
Copy link
Collaborator

@kelvinmwinuka kelvinmwinuka commented Jul 6, 2024

This PR makes the following changes:

  1. Moves the main.go file from the cmd subfolder to the root folder.
  2. Updates Dockerfile.prod from using homebrew to building from source.
  3. Moved volumes folder into the internal folder. Due to the example module go files, this folder was being picked up in the pkg.go.dev listing. This change should rectify that.
  4. Adds a job in the release.yml workflow to build and publish docker images to DockerHub and Container Registry.

Dockerfile changes address this issue and were inspired by this article.

kelvinmwinuka and others added 3 commits July 4, 2024 11:50
… the nodes. Updated Dockerfile.dev build path. Updated Dockerfile.prod to produce a final alpine image instead of using homebrew.
@kelvinmwinuka kelvinmwinuka self-assigned this Jul 6, 2024
@kelvinmwinuka kelvinmwinuka linked an issue Jul 6, 2024 that may be closed by this pull request
… job in the releast.yml workflow that publishes docker images to DockerHub and Container Registry
…ain directory in .goreleaser.yml config file
Copy link

codecov bot commented Jul 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.75%. Comparing base (eb94269) to head (88e23d9).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #90      +/-   ##
==========================================
+ Coverage   79.66%   79.75%   +0.09%     
==========================================
  Files          50       50              
  Lines        8794     8794              
==========================================
+ Hits         7006     7014       +8     
+ Misses       1277     1271       -6     
+ Partials      511      509       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kelvinmwinuka kelvinmwinuka merged commit a26144c into main Jul 6, 2024
3 checks passed
@kelvinmwinuka kelvinmwinuka deleted the chore/restructure branch September 12, 2024 15:05
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.

docker feedback
1 participant