grandnode / grandnode2

Open-Source eCommerce Platform on .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, LiteDB & Vue.js
https://grandnode.com/
GNU General Public License v3.0
1.06k stars 435 forks source link

Update docker-image.yml #421

Closed gregcar closed 1 year ago

gregcar commented 1 year ago

Added support for building arm64 platform container image

Resolves N/A Type: feature

Issue

Unable to use grandnode/grandnode2 docker hub hosted container image (linux/amd64 platform) on MAC M series silicon or anything else running ARM. These changes address that by creating an additional OS/ARCH image during build and pushing it to docker hub.

Solution

Updates are isolated to GH action docker-image.yml:

Breaking changes

N/A

Testing

  1. Execute Action run for Docker Image CI
  2. Validate that new 'linux/arm64' OS/ARCH has been added to 'latest' in grandnode/grandnode2 docker hub image
  3. Test creation of container on ARM based machine
KrzysztofPajak commented 1 year ago

@gregcar Thank you for contributing