Revert "build,docker: add support for riscv64"
This reverts commit 765cffe6c2b7d0a9d757bbdb476cc0ea15fd287c.
Henrique Dias committed
Jan 4, 2024 at 13:28 UTC
4a8badf98ea66ec926a0835542cbbcf0bd1f902e
2 files changed
+1
-15
.github/workflows/docker-image.yml
+1
-14
@@ -107,31 +107,18 @@ jobs:
107
cache-from: type=local,src=/tmp/.buildx-cache
108
cache-to: type=local,dest=/tmp/.buildx-cache-new
109
110
- - name: Build Docker image (linux/riscv64)
111
- uses: docker/build-push-action@v4
112
- with:
113
- platforms: linux/riscv64
114
- context: .
115
- push: false
116
- load: true
117
- file: ./Dockerfile
118
- tags: ${{ env.IMAGE_NAME }}:linux-riscv64
119
- cache-from: type=local,src=/tmp/.buildx-cache
120
- cache-to: type=local,dest=/tmp/.buildx-cache-new
121
-
110
# We test all the images on amd64 host here. This uses QEMU to emulate
111
# the other platforms.
112
- run: docker run --rm $IMAGE_NAME:linux-amd64 --version
113
- run: docker run --rm $IMAGE_NAME:linux-arm-v7 --version
114
- run: docker run --rm $IMAGE_NAME:linux-arm64-v8 --version
127
- - run: docker run --rm $IMAGE_NAME:linux-riscv64 --version
115
116
# This will only push the previously built images.
117
- if: github.event_name != 'workflow_dispatch' || github.event.inputs.push == 'true'
118
name: Publish to Docker Hub
119
uses: docker/build-push-action@v4
120
with:
134
- platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/riscv64
121
+ platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
122
context: .
123
push: true
124
file: ./Dockerfile
mk/util.mk
-1
@@ -16,7 +16,6 @@ SUPPORTED_PLATFORMS += linux-arm
16
SUPPORTED_PLATFORMS += linux-arm64
17
SUPPORTED_PLATFORMS += linux-386
18
SUPPORTED_PLATFORMS += linux-amd64
19
-SUPPORTED_PLATFORMS += linux-riscv64
19
20
SUPPORTED_PLATFORMS += darwin-amd64
21
ifeq ($(shell bin/check_go_version "1.16.0" 2>/dev/null; echo $$?),0)