Skip to main content

Command: build component

Builds a Component from its source.

$ arcctl build component ./backend
$ arcctl build component ./frontend --tag architectio/frontend:latest

Arguments

IndexDescription
0The path to the component's source directory an architect.yml file directly.

Flags

NameTypeDescription
--tagArray<String>A tag that will point to the built component
--pushBooleanAutomatically push the built image to the registries associated with each tag
--platformStringA comma-separated list of platforms to build the component and corresponding docker images for (e.g. linux/arm64,linux/amd64)