jtblin / kube2iam

kube2iam provides different AWS IAM roles for pods running on Kubernetes
BSD 3-Clause "New" or "Revised" License
1.96k stars 318 forks source link

ci: build multi arch images with buildx #336

Open rr-nick-tan opened 2 years ago

rr-nick-tan commented 2 years ago

What this PR does / why we need it:

build multi arch images with buildx fixes #335

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes:

Checklist chart

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

rr-nick-tan commented 2 years ago

@jtblin , pls review

when you create the git tag, it triggers the image build and publish to Docerhub it works in my fork https://github.com/rr-nick-tan/kube2iam/runs/5441826765?check_suite_focus=true to make the release work, you need to provide the github secrets DOCKERHUB_USERNAME and DOCKERHUB_TOKEN