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: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.
Related Topics
- nsc github profile - Manage GitHub runner profiles
- nsc github profile update - Update a profile’s Dockerfile
- nsc github profile describe - Describe a profile