5 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
Dusty.P ed626a2dad Update main.yml
CI / build (push) Has been cancelled
2021-09-29 20:53:04 -08:00
3 changed files with 8 additions and 0 deletions
+3
View File
@@ -11,6 +11,8 @@ on:
jobs:
build:
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:
@@ -26,6 +28,7 @@ jobs:
# uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v1.10.0
with:
registry: ${{ secrets.DR_URL }}
# Username used to log against the Docker registry
username: ${{ secrets.DH_USERNAME }}
# Password or personal access token used to log against the Docker registry
+3
View File
@@ -8,6 +8,9 @@ RUN go mod download
RUN apk update
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/grpc/cmd/protoc-gen-go-grpc@v1.1
COPY . .
+2
View File
@@ -55,3 +55,5 @@ spec:
secretKeyRef:
name: snowflake
key: worker_id
imagePullSecrets:
- name: regcred