Skip to content

Commit 4a8badf

Browse files
committed
Revert "build,docker: add support for riscv64"
This reverts commit 765cffe.
1 parent a8a6bbe commit 4a8badf

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

.github/workflows/docker-image.yml

+1-14
Original file line numberDiff line numberDiff line change
@@ -107,31 +107,18 @@ jobs:
107107
cache-from: type=local,src=/tmp/.buildx-cache
108108
cache-to: type=local,dest=/tmp/.buildx-cache-new
109109

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-
122110
# We test all the images on amd64 host here. This uses QEMU to emulate
123111
# the other platforms.
124112
- run: docker run --rm $IMAGE_NAME:linux-amd64 --version
125113
- run: docker run --rm $IMAGE_NAME:linux-arm-v7 --version
126114
- run: docker run --rm $IMAGE_NAME:linux-arm64-v8 --version
127-
- run: docker run --rm $IMAGE_NAME:linux-riscv64 --version
128115

129116
# This will only push the previously built images.
130117
- if: github.event_name != 'workflow_dispatch' || github.event.inputs.push == 'true'
131118
name: Publish to Docker Hub
132119
uses: docker/build-push-action@v4
133120
with:
134-
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/riscv64
121+
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
135122
context: .
136123
push: true
137124
file: ./Dockerfile

mk/util.mk

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ SUPPORTED_PLATFORMS += linux-arm
1616
SUPPORTED_PLATFORMS += linux-arm64
1717
SUPPORTED_PLATFORMS += linux-386
1818
SUPPORTED_PLATFORMS += linux-amd64
19-
SUPPORTED_PLATFORMS += linux-riscv64
2019

2120
SUPPORTED_PLATFORMS += darwin-amd64
2221
ifeq ($(shell bin/check_go_version "1.16.0" 2>/dev/null; echo $$?),0)

0 commit comments

Comments
 (0)