File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ SUPPORTED_PLATFORMS += linux-arm
1616SUPPORTED_PLATFORMS += linux-arm64
1717SUPPORTED_PLATFORMS += linux-386
1818SUPPORTED_PLATFORMS += linux-amd64
19- SUPPORTED_PLATFORMS += linux-riscv64
2019
2120SUPPORTED_PLATFORMS += darwin-amd64
2221ifeq ($(shell bin/check_go_version "1.16.0" 2>/dev/null; echo $$? ) ,0)
You can’t perform that action at this time.
0 commit comments