Skip to main content
Build the base image from a GitHub runner profile’s Dockerfile. nsc github profile test-build-base-image performs a test build of the custom runner image defined by a profile’s Dockerfile. This is useful for validating that a custom image configuration builds successfully before it is used by runners.

Usage

Examples

Test build for a profile:
Test build for a specific OS and platform:

Required Flags

—profile_id string

Profile ID to build from.

Optional Flags

-l, —os-label string

Specifies the OS version of the base image. Default: ubuntu-22.04.

-p, —platform strings

Which platforms to build for. Default: linux/amd64,linux/arm64. Supported values: linux/amd64, linux/arm64.
Last modified on August 20, 2026