diff --git a/.github/workflows/publish-latest.yaml b/.github/workflows/publish-latest.yaml index 0bd504a..fd1af2d 100644 --- a/.github/workflows/publish-latest.yaml +++ b/.github/workflows/publish-latest.yaml @@ -36,5 +36,6 @@ jobs: uses: docker/build-push-action@v3.0.0 with: context: . + platforms: linux/amd64, linux/arm64 push: true tags: ghcr.io/expediagroup/overwhelm:latest,ghcr.io/expediagroup/overwhelm:${{ env.VERSION }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 879d70b..271d023 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -28,5 +28,6 @@ jobs: with: context: . push: true + platforms: linux/amd64, linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index 5f34073..f77761d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ COPY controllers/ controllers/ COPY analyzer/ analyzer/ # Build -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -gcflags "all=-N -l" -a -o manager main.go +RUN CGO_ENABLED=0 GOOS=linux go build -gcflags "all=-N -l" -a -o manager main.go