topolvm / pvc-autoresizer

Auto-resize PersistentVolumeClaim objects based on Prometheus metrics
Apache License 2.0
236 stars 25 forks source link

Build ARM image #267

Open tropnikovvl opened 1 week ago

tropnikovvl commented 1 week ago

What should the feature do: Hello! The ARM platform is increasingly gaining popularity and it would be great to be able to build a pvc-autoresizer image for an ARM.

What is use case behind this feature: Launch on ARM instances

By default for convenient multi-architectural builds, buildx are used. Link to a good guide.

But if this method is not convenient for you, then I think you can change the method of build in the release pipeline, for example: from

- run: make image

to

- name: install buildx
  id: buildx
  uses: crazy-max/ghaction-docker-buildx@v1
  with:
    version: latest
- name: build the image
  run: |
    docker buildx build \
    --tag your-username/multiarch-example:latest \
    --platform linux/amd64,linux/arm/v7,linux/arm64 .
ushitora-anqou commented 1 week ago

Hi there! Thanks for your proposal. Could you submit a PR for this? TopoLVM already builds Arm images in its CI, so we can use the same approach. Here are some links for reference: