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

Feat: multi-arch docker image #1756

Merged
merged 7 commits into from
Apr 23, 2024
Merged

Feat: multi-arch docker image #1756

merged 7 commits into from
Apr 23, 2024

Conversation

tnaroska
Copy link
Contributor

@tnaroska tnaroska commented Feb 8, 2024

Describe the PR

Fix #1755 by enabling go cross-compilation in Dockerfile and setting multiple target architectures in docker/build-push-action.

Relation issue
#1755 - Create multi-arch docker image for amd64/arm64

Additional context
Validated the Dockerfile change by building a multi-arch image locally. I have no way to test the change in github worklfow though. Thanks to @ngehrsitz, changes to github workflow could be validated on this fork repo, too.

Copy link
Contributor

@ngehrsitz ngehrsitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 But I would incorporate some further improvements tnaroska#1
With that you can also test in your fork if you create a tag in the form of v*

Copy link

codecov bot commented Feb 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.40%. Comparing base (91624ad) to head (0bdf7cc).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1756   +/-   ##
=======================================
  Coverage   83.40%   83.40%           
=======================================
  Files          16       16           
  Lines        3881     3881           
=======================================
  Hits         3237     3237           
  Misses        545      545           
  Partials       99       99           

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

@sdghchj
Copy link
Member

sdghchj commented Feb 27, 2024

Update and resolve the conflicts, please.

@tnaroska
Copy link
Contributor Author

tnaroska commented Feb 27, 2024

Update and resolve the conflicts, please.

@sdghchj done

Copy link
Contributor

@ubogdan ubogdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ubogdan ubogdan merged commit 15dae35 into swaggo:master Apr 23, 2024
12 checks passed
@ubogdan
Copy link
Contributor

ubogdan commented Apr 23, 2024

@tnaroska Thanks for your contribution.

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.

Create multi-arch docker image for amd64/arm64
4 participants