nats-io / nats-kafka

NATS to Kafka Bridging
Apache License 2.0
131 stars 32 forks source link

Add multiarch rules #56

Closed variadico closed 3 years ago

variadico commented 3 years ago

This adds rules to build multi-arch Docker images. A working BuildKit builder is required for creating these images. See more documentation at: https://docs.docker.com/buildx/working-with-buildx

Assuming a working builder, then all we need to do is this.

make dockerx ver=1.2.3

These are the arches that are created: image

I tested the linux/arm64 images on Ubuntu ARM64.

$ uname -a
Linux aws #43~20.04.1-Ubuntu SMP Thu Jul 15 11:03:27 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
codecov-commenter commented 3 years ago

Codecov Report

Merging #56 (c75e7ad) into main (c496975) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #56   +/-   ##
=======================================
  Coverage   80.54%   80.54%           
=======================================
  Files          18       18           
  Lines        1254     1254           
=======================================
  Hits         1010     1010           
  Misses        152      152           
  Partials       92       92           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c496975...c75e7ad. Read the comment docs.