This repo contains the Dockerfile for building the default Spacelift Terraform runner image.
The image is pushed to the public.ecr.aws/spacelift/runner-terraform
public repository. It
is also pushed to the ghcr.io/spacelift-io/runner-terraform
as a backup in case of issues
with ECR.
We publish two images. One has gcloud
CLI bundled, the other does not.
This is because gcloud
is a very large package and we want to keep the image size down.
spacelift-io/runner-terraform:latest
-> nogcloud
CLIspacelift-io/runner-terraform:gcp-latest
-> withgcloud
CLI
All changes merged to main
branch are automatically built and pushed to the Docker repository with the future
tag.
Once it is considered stable, we can release it as latest
by creating a tag (semver) and pushing it to the
repository. Example:
$ git tag -a v1.1.0 -m "Release v1.1.0"
$ git push origin v1.1.0
Note: we also have a weekly cron job that re-runs the main
branch just to have the latest package updates.