Skip to content

build(make): the build and push targets of the image - #222

Merged
azarouski merged 1 commit into
developfrom
build/make-build-push
Oct 29, 2026
Merged

azarouski merged 1 commit into
developfrom
build/make-build-push

Conversation

@azarouski

Copy link
Copy Markdown
Contributor

One way to build and publish the images of MCloud, as the checks: make help lists them.

make build VERSION=3.1   # public.ecr.aws/zebrunner/mcloud-device:3.1 in the local docker
make push VERSION=3.1    # docker buildx: PLATFORMS built and pushed (docker login public.ecr.aws first)
  • VERSION is the tag and the org.opencontainers.image.version label (dev by default, push refuses it), IMAGE_REPO another repository, PLATFORMS the platforms of the push: linux/amd64 + linux/arm64.
  • push uses the buildx builder mcloud (docker-container driver, host network for a local registry), created once; --provenance=false as the docker tests.
  • README: the Build section.

The convention: zebrunner/mcloud-conventions PR (Makefile section).

stf:3.1 multi-arch; note: make lint / repo_test fail on develop already (the digest of stf:3.1, #221)

make build VERSION=<tag> builds public.ecr.aws/zebrunner/mcloud-device:<tag> in the local docker, make push
VERSION=<tag> builds PLATFORMS with docker buildx and pushes them; IMAGE_REPO sets another
repository. Platforms: linux/amd64 + linux/arm64.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azarouski
azarouski merged commit d6cb82d into develop Oct 29, 2026
0 of 3 checks passed
@azarouski
azarouski deleted the build/make-build-push branch October 29, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant