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

Add support for build for linux/amd64 (v1) [binaries/docker] #12003

Merged
merged 5 commits into from
Sep 16, 2024

Conversation

lystopad
Copy link
Member

Changes:

  • compile new binaries for AMD64 microarchitecture level 1 (linux/amd64)
  • explicitly use v2 suffix in binaries and docker images build for AMD64 microarchitecture level 2

After that change there will be multi-platform docker image with 3 OS/Arch:

  • linux/arm64
  • linux/amd64
  • linux/amd64/v2

as well as a new release artifact.

.goreleaser.yml Outdated
@@ -607,6 +607,211 @@ builds:
## End of Linux AMD64


## Linux AMD64-v2:
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to parametrize the logic on v1, v2 so that we avoid the copy-paste?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea 👍
I am going to play with templates.

Copy link
Member Author

Choose a reason for hiding this comment

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

Goreleaser configuration block for amd64 and amd64/v2 is now the same template for both -- which makes it simply to manage in the future.
Please, review changes, @yperbasis .

@lystopad lystopad enabled auto-merge (squash) September 16, 2024 15:33
@lystopad lystopad merged commit 1559075 into main Sep 16, 2024
9 checks passed
@lystopad lystopad deleted the feature/issue-11932 branch September 16, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants