Skip to content

Commit f154caa

Browse files
nohanttonyo
andauthored
feat: enable linux/arm64 build (#88)
--------- Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
1 parent 55429ee commit f154caa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-push.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
arch:
2525
- linux/amd64
26-
# - linux/arm64
26+
- linux/arm64
2727
permissions:
2828
packages: write
2929
contents: read

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN go mod download
1010

1111
COPY *.go ./
1212

13-
ENV CGO_ENABLED=0 GOOS=linux
13+
ENV CGO_ENABLED=0 GOOS=${TARGETPLATFORM} GOARCH=${TARGETARCH} GO111MODULE=on
1414

1515
RUN go build -o /bin/sentry-kubernetes
1616

0 commit comments

Comments
 (0)