From 6a2e5b80170826b553e8711865516399a16cd42c Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 18 Oct 2023 08:29:53 +0200 Subject: [PATCH] chore: enable riscv64 build Signed-off-by: CrazyMax (cherry picked from commit cc7b649a6953ceb4ea8b4efce9820ebb393a5df4) --- .github/workflows/buildkit.yml | 2 +- .github/workflows/frontend.yml | 2 +- docker-bake.hcl | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/buildkit.yml b/.github/workflows/buildkit.yml index 36c2287d0739..3c2cb53f9ada 100644 --- a/.github/workflows/buildkit.yml +++ b/.github/workflows/buildkit.yml @@ -25,7 +25,7 @@ env: SETUP_BUILDX_VERSION: "latest" SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest" IMAGE_NAME: "moby/buildkit" - PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le" + PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le,linux/riscv64" DESTDIR: "./bin" jobs: diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 26846b176309..5eace41ef6dc 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -23,7 +23,7 @@ env: SETUP_BUILDX_VERSION: "latest" SETUP_BUILDKIT_TAG: "moby/buildkit:latest" IMAGE_NAME: "docker/dockerfile-upstream" - PLATFORMS: "linux/386,linux/amd64,linux/arm/v7,linux/arm64,linux/mips,linux/mipsle,linux/mips64,linux/mips64le,linux/s390x,linux/ppc64le" + PLATFORMS: "linux/386,linux/amd64,linux/arm/v7,linux/arm64,linux/mips,linux/mipsle,linux/mips64,linux/mips64le,linux/s390x,linux/ppc64le,linux/riscv64" jobs: test: diff --git a/docker-bake.hcl b/docker-bake.hcl index 339e14bb7da5..f6fc3bba8289 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -56,8 +56,7 @@ target "binaries-cross" { "linux/arm64", "linux/s390x", "linux/ppc64le", - # TODO: enable back once https://github.com/moby/buildkit/issues/4316 is fixed - // "linux/riscv64", + "linux/riscv64", "windows/amd64", "windows/arm64" ]