feat(images): add multi-platform images for garden deployed services #6072
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Adds multi-platform builds for all the garden deployed containers like
buildkit
,skopeo
,k8s-sync
, etc. This allows users to run garden on arm64 native kubernetes.We can not use the publish command any longer to publish the images to dockerhub, since the docker-container buildx runner is not able to load the images in the default local docker image store. To facilitate this, we now always push to DockerHub when running
garden build
in this project, but with adev
tag. When runninggarden build --var publish=true
we push them with the specified production tag inrelease_tag
. This is a temporary workaround until we have properly integrated mutli-platform building into garden.Also moves the images project from modules to actions ;-)
Which issue(s) this PR fixes:
Fixes #6088
Special notes for your reviewer: