INNER CODE UNIT · Go

New

runmedev/runme · .dagger/main.go:29

func New(
	// Source is a directory containing the Runme source code
	// +optional
	source *dagger.Directory,
	// GhcrUsername is the GitHub Container Registry username for authentication
	// +optional
	ghcrUsername string,
	// GhcrToken is the GitHub Container Registry token for authentication
	// +optional
	ghcrToken *dagger.Secret,

	// TargetPlatform specifies the target platform (os/arch combination) for the build
	// +optional
	targetPlatform string,
) *Runme {
	targetOS := "linux"
	targetArch := "amd64"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…