File tree 2 files changed +1
-15
lines changed
2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -107,31 +107,18 @@ jobs:
107
107
cache-from : type=local,src=/tmp/.buildx-cache
108
108
cache-to : type=local,dest=/tmp/.buildx-cache-new
109
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
-
122
110
# We test all the images on amd64 host here. This uses QEMU to emulate
123
111
# the other platforms.
124
112
- run : docker run --rm $IMAGE_NAME:linux-amd64 --version
125
113
- run : docker run --rm $IMAGE_NAME:linux-arm-v7 --version
126
114
- run : docker run --rm $IMAGE_NAME:linux-arm64-v8 --version
127
- - run : docker run --rm $IMAGE_NAME:linux-riscv64 --version
128
115
129
116
# This will only push the previously built images.
130
117
- if : github.event_name != 'workflow_dispatch' || github.event.inputs.push == 'true'
131
118
name : Publish to Docker Hub
132
119
uses : docker/build-push-action@v4
133
120
with :
134
- platforms : linux/amd64,linux/arm/v7,linux/arm64/v8,linux/riscv64
121
+ platforms : linux/amd64,linux/arm/v7,linux/arm64/v8
135
122
context : .
136
123
push : true
137
124
file : ./Dockerfile
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ SUPPORTED_PLATFORMS += linux-arm
16
16
SUPPORTED_PLATFORMS += linux-arm64
17
17
SUPPORTED_PLATFORMS += linux-386
18
18
SUPPORTED_PLATFORMS += linux-amd64
19
- SUPPORTED_PLATFORMS += linux-riscv64
20
19
21
20
SUPPORTED_PLATFORMS += darwin-amd64
22
21
ifeq ($(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