4 Commits
Author SHA1 Message Date
Dustin Pianalto 207e34e700 Build for ARM
CI / build (push) Has been cancelled
2021-09-29 22:08:06 -08:00
Dustin Pianalto 6adbbb36b2 Build for ARM
CI / build (push) Has been cancelled
2021-09-29 21:54:23 -08:00
Dustin Pianalto 329afdbe81 Merge branch 'main' of github.com:dustinpianalto/snowflake
CI / build (push) Has been cancelled
2021-09-29 21:43:38 -08:00
Dustin Pianalto 13501567c0 Add image secret 2021-09-29 21:42:49 -08:00
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -11,6 +11,8 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
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:
+3
View File
@@ -8,6 +8,9 @@ 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=8
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 . .
+2
View File
@@ -55,3 +55,5 @@ spec:
secretKeyRef: secretKeyRef:
name: snowflake name: snowflake
key: worker_id key: worker_id
imagePullSecrets:
- name: regcred