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

Build release binaries and Docker images for arm64 #3836

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

jkneubuh
Copy link
Contributor

@jkneubuh jkneubuh commented Dec 6, 2022

This PR publishes multi-arch Docker images to ghcr.io and prepares native CLI binaries as part of the release process.

(Note: for the 2.5 release line, the DOCKER_REGISTRY attribute in release.yaml will need to be updated to refer to docker.io. The use of the ghcr.io container registry allows us to run through a few test pipelines and recover from errors without pulling in the HL team to manually scrub artifacts.)

To trigger the release action, draft a new GH Release, applying a semrev tag (e.g. v2.5.0-alpha) to a target branch. When GH applies the release tag, this will trigger the new release pipeline, generating docker images and fabric CLI binaries.

Signed-off-by: Josh Kneubuhl jkneubuh@us.ibm.com

Type of change

  • New feature

Description

This PR adds support for multi-arch Docker images, generated with the buildx builder.

This PR also modifies the fabric native binaries to include the {{ github.ref_name }} directly when compiling the routine metadata. This allows for a semantic revision (e.g. v2.5.0, v2.5.0-alpha, etc.) or branch relative tags to be associated with the images and binaries.

Additional details

Related issues

@jkneubuh jkneubuh requested a review from a team as a code owner December 6, 2022 18:05
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
@jkneubuh jkneubuh force-pushed the feature/rel2.5/arm64 branch from d0c5026 to cf199d1 Compare December 6, 2022 18:11
@denyeart denyeart merged commit 65041a8 into hyperledger:release-2.5 Dec 6, 2022
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.

2 participants