This commit is contained in:
parent
f35f07e35a
commit
709e03f9c1
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -10,9 +10,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
env:
|
|
||||||
DOCKER_TARGET_PLATFORM: linux/arm/v7
|
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@ -8,9 +8,6 @@ RUN go mod download
|
|||||||
RUN apk update
|
RUN apk update
|
||||||
|
|
||||||
RUN apk add protobuf
|
RUN apk add protobuf
|
||||||
ENV GOOS=linux
|
|
||||||
ENV GOARCH=arm
|
|
||||||
ENV GOARM=7
|
|
||||||
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
|
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26
|
||||||
RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
|
RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user