Closed lwolf closed 5 months ago
Just fyi, i've got an ARM build build by drone here: https://github.com/Rick-Jongbloed/kube-cleanup-operator-arm. It might help you to get ARM support build in 🥇
@Rick-Jongbloed that's cool, thank you
Hello @lwolf. Kindly asking when that build might be available?
Just want to follow up with a similar solution to @Rick-Jongbloed's. This one is a CircleCI job using the aws-ecr orb.
build-push-cleanup-operator:
machine:
image: ubuntu-2204:2024.01.1
docker_layer_caching: true
resource_class: arm.medium
steps:
- run:
name: Download and modify kube-cleanup-operator
command: |
sudo apt-get update && \
sudo apt-get install -y git make unzip
git clone https://github.com/lwolf/kube-cleanup-operator .
sed -i 's;GOARCH=amd64;GOARM=7 GOARCH=arm;g' Makefile
sed -i 's;FROM alpine;FROM arm64v8/alpine;g' Dockerfile
- aws-ecr/build-and-push-image:
checkout: false
repo: kube-cleanup-operator
registry-id: AWS_ACCOUNT_ID
create-repo: true
tag: 'kube-cleanup-operator'
platform: 'linux/arm64'
Thanks for the example. If anyone is open to making a PR with GitHub actions build pipeline - feel free to submit a PR
Thanks for the example. If anyone is open to making a PR with GitHub actions build pipeline - feel free to submit a PR
@lwolf hopefully this will do the job: https://github.com/lwolf/kube-cleanup-operator/pull/95
Add support for multiarch docker manifests