diff --git a/.github/workflows/build-push.yaml b/.github/workflows/build-push.yaml index d676709..a894c99 100644 --- a/.github/workflows/build-push.yaml +++ b/.github/workflows/build-push.yaml @@ -23,7 +23,7 @@ jobs: matrix: arch: - linux/amd64 - # - linux/arm64 + - linux/arm64 permissions: packages: write contents: read diff --git a/Dockerfile b/Dockerfile index cdefe8c..8d499ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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