File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 if : github.repository == 'casbin/casbin-server' && github.event_name == 'push' && steps.should_push.outputs.push=='true'
9090 with :
9191 target : STANDARD
92- platforms : linux/amd64
92+ platforms : linux/amd64,linux/arm64
9393 push : true
9494 tags : casbin/casbin-server:${{steps.get-current-tag.outputs.tag }},casbin/casbin-server:latest
Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ RUN curl -LjO https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.1
2121 rm v3.17.3.zip
2222
2323# Go environment variable to enable Go modules
24+ ARG TARGETOS
25+ ARG TARGETARCH
2426ENV GO111MODULE=on \
2527 CGO_ENABLED=0 \
26- GOOS=linux \
27- GOARCH=amd64
28+ GOOS=${TARGETOS} \
29+ GOARCH=${TARGETARCH}
2830
2931# Download dependencies
3032RUN go mod download
You can’t perform that action at this time.
0 commit comments