Skip to content

Commit

Permalink
feat: enable linux/arm64 build (#88)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Anton Ovchinnikov <[email protected]>
  • Loading branch information
nohant and tonyo authored Mar 12, 2024
1 parent 55429ee commit f154caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
matrix:
arch:
- linux/amd64
# - linux/arm64
- linux/arm64
permissions:
packages: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN go mod download

COPY *.go ./

ENV CGO_ENABLED=0 GOOS=linux
ENV CGO_ENABLED=0 GOOS=${TARGETPLATFORM} GOARCH=${TARGETARCH} GO111MODULE=on

RUN go build -o /bin/sentry-kubernetes

Expand Down

0 comments on commit f154caa

Please sign in to comment.