Build on self hosted runner

main v0.0.14
DustyP 4 years ago
parent f35f07e35a
commit 709e03f9c1

@ -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…
Cancel
Save