This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
The following commit(s) were added to refs/heads/main by this push:
new 7f3e2a82 Remove the windows arch for binary and docker image (#887)
7f3e2a82 is described below
commit 7f3e2a8229d9cad8375ec6c070ba517b87bf4b0d
Author: mrproliu <[email protected]>
AuthorDate: Fri Dec 5 14:35:32 2025 +0800
Remove the windows arch for binary and docker image (#887)
* Remove the windows arch for binary and docker image
* fix issue
---
.github/workflows/publish-docker.yml | 7 ++-----
CHANGES.md | 1 +
banyand/Dockerfile | 9 ---------
docs/installation/docker.md | 4 ++--
4 files changed, 5 insertions(+), 16 deletions(-)
diff --git a/.github/workflows/publish-docker.yml
b/.github/workflows/publish-docker.yml
index b9a2dd27..36c015a0 100644
--- a/.github/workflows/publish-docker.yml
+++ b/.github/workflows/publish-docker.yml
@@ -59,9 +59,6 @@ jobs:
- name: Build Linux binaries
run: |
TARGET_OS=linux PLATFORMS=linux/amd64,linux/arm64 make release
- - name: Build Windows binaries
- run: |
- TARGET_OS=windows PLATFORMS=windows/amd64 make release
- name: Build docker image
if: github.ref != 'refs/heads/main' # Only build docker image on
PR(Push image when pushed to main branch)
run: |
@@ -80,6 +77,6 @@ jobs:
- name: Push docker image
if: github.ref == 'refs/heads/main'
run: |
- PLATFORMS=linux/amd64,linux/arm64,windows/amd64 make docker.push ||
PLATFORMS=linux/amd64,linux/arm64,windows/amd64 make docker.push
- PLATFORMS=linux/amd64,linux/arm64,windows/amd64 BINARYTYPE=slim make
-C banyand docker.push || PLATFORMS=linux/amd64,linux/arm64,windows/amd64
BINARYTYPE=slim make -C banyand docker.push
+ PLATFORMS=linux/amd64,linux/arm64 make docker.push ||
PLATFORMS=linux/amd64,linux/arm64 make docker.push
+ PLATFORMS=linux/amd64,linux/arm64 BINARYTYPE=slim make -C banyand
docker.push || PLATFORMS=linux/amd64,linux/arm64 BINARYTYPE=slim make -C
banyand docker.push
make -C test/docker push || make -C test/docker push
\ No newline at end of file
diff --git a/CHANGES.md b/CHANGES.md
index eb033da5..89086bcc 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -11,6 +11,7 @@ Release Notes.
- Remove check requiring tags in criteria to be present in projection
- Add sorted query support for the Property.
- Update bydbQL to add sorted query support for the Property.
+- Remove the windows arch for binary and docker image.
### Bug Fixes
diff --git a/banyand/Dockerfile b/banyand/Dockerfile
index 988977a7..b9e5ef94 100644
--- a/banyand/Dockerfile
+++ b/banyand/Dockerfile
@@ -29,15 +29,6 @@ COPY
build/bin/linux/${TARGETARCH}/banyand-restore-${BINARYTYPE} /restore
COPY build/bin/linux/${TARGETARCH}/banyand-lifecycle-${BINARYTYPE} /lifecycle
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
-FROM mcr.microsoft.com/windows/servercore:ltsc2022 AS build-windows
-
-ARG TARGETARCH
-
-COPY build/bin/windows/${TARGETARCH}/banyand-server-static "/banyand"
-COPY build/bin/windows/${TARGETARCH}/banyand-backup-static "/backup"
-COPY build/bin/windows/${TARGETARCH}/banyand-restore-static "/restore"
-COPY build/bin/windows/${TARGETARCH}/banyand-lifecycle-static "/lifecycle"
-
FROM build-${TARGETOS} AS final
ENV GRPC_GO_LOG_SEVERITY_LEVEL=ERROR
diff --git a/docs/installation/docker.md b/docs/installation/docker.md
index 2fdcddfe..7d0e9485 100644
--- a/docs/installation/docker.md
+++ b/docs/installation/docker.md
@@ -17,8 +17,8 @@ The BanyanDB images are hosted on GitHub Container Registry
for development or t
There are three types of images:
-- `ghcr.io/apache/skywalking-banyandb:<github-sha>` - The specific version of
the BanyanDB. We pushed `linux/amd64`, `linux/arm64` and `windows/amd64` for
each type of image.
-- `ghcr.io/apache/skywalking-banyandb:<github-sha>-slim` - The slim version of
the BanyanDB. It does not contain the Web UI. We pushed `linux/amd64`,
`linux/arm64` and `windows/amd64` for each type of image.
+- `ghcr.io/apache/skywalking-banyandb:<github-sha>` - The specific version of
the BanyanDB. We pushed `linux/amd64` and `linux/arm64` for each type of image.
+- `ghcr.io/apache/skywalking-banyandb:<github-sha>-slim` - The slim version of
the BanyanDB. It does not contain the Web UI. We pushed `linux/amd64` and
`linux/arm64` for each type of image.
- `ghcr.io/apache/skywalking-banyandb:<github-sha>-testing` - The testing
version of the BanyanDB. It contains the Web UI and the `bydbctl`. We pushed
`linux/amd64` and `linux/arm64` for each type of image.
## Start a container in `standalone mode`