Overview
fjall build builds Docker images and pushes them to Amazon ECR. Use it in CI/CD workflows that separate the build and deploy steps.
Prerequisites
Usage
Arguments
Options
Basic Usage
Build all services in an application:CI/CD Workflow
The build command suits CI/CD pipelines that:- Build and push images.
- Run tests against the built image.
- Deploy with the pre-built image.
Example: GitHub Actions
--image-tag deploys the exact image the build step pushed, without rebuilding. It applies one tag family across the app’s services, so it suits apps whose services build from a single build group — the build output offers the --image-tag next step only when that holds. Otherwise deploy normally (fjall deploy api).
Example: Buildkite
Output
Standard Output
With —output-image-url
When you pass--output-image-url, the command prints machine-readable values:
IMAGE_URL contains the last built image; ALL_IMAGE_URLS (a comma-separated list) is added when multiple services build. One IMAGE service=<name> tag=<tag> digest=<digest> uri=<uri> line is printed per built artefact — parse these when you need per-service tags.
Docker Build Targets
If your Dockerfile uses multi-stage builds with named targets:Troubleshooting
ECR Repository Not Found
Docker Build Failed
Authentication Failed
Next Steps
Deploy an Application
Deploy your built image to AWS
fjall deploy
Full reference for the deploy command