Skip to content

[ADDED] CI: Add loong64 to release#7094

Merged
neilalexander merged 1 commit intonats-io:mainfrom
znley:main
Jul 24, 2025
Merged

[ADDED] CI: Add loong64 to release#7094
neilalexander merged 1 commit intonats-io:mainfrom
znley:main

Conversation

@znley
Copy link
Copy Markdown
Contributor

@znley znley commented Jul 23, 2025

I need nats-server release to build container image for loong64. https://hub.docker.com/u/loongarch64\
GoReleaser has officially supported loong64 architecture. goreleaser/goreleaser#3277

Signed-off-by: znley shanjiantao@loongson.cn

Signed-off-by: znley <shanjiantao@loongson.cn>
@znley znley requested a review from a team as a code owner July 23, 2025 00:48
@neilalexander
Copy link
Copy Markdown
Member

Note that this will build a loong64 artefact, but will not automatically result in a linux/loong64 OCI container image — that part is handled elsewhere. Is it specifically a container image that you're looking for?

@znley
Copy link
Copy Markdown
Contributor Author

znley commented Jul 24, 2025

Note that this will build a loong64 artefact, but will not automatically result in a linux/loong64 OCI container image — that part is handled elsewhere. Is it specifically a container image that you're looking for?

Yes, the OCI container image will be handled on docker hub and loong64 artifact is required to build the image.

Copy link
Copy Markdown
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM

@neilalexander neilalexander merged commit 75a5003 into nats-io:main Jul 24, 2025
23 checks passed
@wallyqs wallyqs changed the title ci: add loong64 to release [ADDED] ci: add loong64 to release Jul 24, 2025
@wallyqs wallyqs changed the title [ADDED] ci: add loong64 to release [ADDED] CI: Add loong64 to release Jul 24, 2025
neilalexander added a commit that referenced this pull request Jul 25, 2025
Includes the following:

- #7031
- #7033
- #7034
- #7035
- #7036
- #7040
- #7043
- #7045
- #7047
- #7046
- #7050
- #7051
- #7052
- #7053
- #7061
- #7063
- #7064
- #7065
- #7066
- #7070
- #7072
- #7080
- #7026
- #6728
- #7074
- #7089
- #7095
- #7087
- #7094
- #7096
- #7099

Signed-off-by: Neil Twigg <neil@nats.io>
@neilalexander
Copy link
Copy Markdown
Member

The first loong64 builds are present in v2.11.7-RC.1: https://github.com/nats-io/nats-server/releases/tag/v2.11.7-RC.1

The Docker image has also been updated to reference the artefact: https://github.com/nats-io/nats-docker/blob/367cd93883e036965df424eb1eb2bf7697afb6c5/2.11.x/alpine3.22/Dockerfile#L15

... but because there's no alpine:3.22 base image for linux/loong64 present on Docker Hub, we cannot currently automate their builds.

@znley
Copy link
Copy Markdown
Contributor Author

znley commented Jul 28, 2025

Yes, docker hub does not support loongarch64 yet for their own reasons. But releasing the binary is a very important step, which means I can fork their pipeline to build container image.

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