diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec84130a8..0789dba6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -164,4 +164,4 @@ jobs: push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - platforms: windows/amd64 + platforms: windows/amd64,windows/arm64 diff --git a/Dockerfile b/Dockerfile index f1a24b9e1..3c8cb85fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,5 +9,7 @@ ARG BASE="mcr.microsoft.com/oss/kubernetes/windows-host-process-containers-base-image:v1.0.0" FROM $BASE -COPY windows_exporter*-amd64.exe /windows_exporter.exe +ARG TARGETARCH + +COPY windows_exporter*-$TARGETARCH.exe /windows_exporter.exe ENTRYPOINT ["windows_exporter.exe"]