Dagger
Search

nix

Publish a flake from Github to flakestry.dev

Installation

dagger install github.com/tsirysndr/daggerverse/flakestry@de331f03566828afa49d57318086a99c5189652a

Entrypoint

Return Type
Nix
Example
dagger -m github.com/tsirysndr/daggerverse/flakestry@de331f03566828afa49d57318086a99c5189652a call \
func (m *myModule) example() *Nix  {
	return dag.
			Nix()
}
@function
def example() -> dag.Nix:
	return (
		dag.nix()
	)
@func()
example(): Nix {
	return dag
		.nix()
}

Types

Nix 🔗

publish() 🔗

Publish a flake to flakestry.dev

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
versionString !-No description provided
refString !-No description provided
ghTokenSecret !-No description provided
actionsIdTokenRequestTokenString !-No description provided
actionsIdTokenRequestUrlString !-No description provided
urlString "https://flakestry.dev"No description provided
ignoreConflictsBoolean falseNo description provided
Example
dagger -m github.com/tsirysndr/daggerverse/flakestry@de331f03566828afa49d57318086a99c5189652a call \
 publish --src DIR_PATH --version string --ref string --gh-token env:MYSECRET --actions-id-token-request-token string --actions-id-token-request-url string
func (m *myModule) example(ctx context.Context, src *Directory, version string, ref string, ghToken *Secret, actionsIdTokenRequestToken string, actionsIdTokenRequestUrl string) string  {
	return dag.
			Nix().
			Publish(ctx, src, version, ref, ghToken, actionsIdTokenRequestToken, actionsIdTokenRequestUrl)
}
@function
async def example(src: dagger.Directory, version: str, ref: str, gh_token: dagger.Secret, actions_id_token_request_token: str, actions_id_token_request_url: str) -> str:
	return await (
		dag.nix()
		.publish(src, version, ref, gh_token, actions_id_token_request_token, actions_id_token_request_url)
	)
@func()
async example(src: Directory, version: string, ref: string, ghToken: Secret, actionsIdTokenRequestToken: string, actionsIdTokenRequestUrl: string): Promise<string> {
	return dag
		.nix()
		.publish(src, version, ref, ghToken, actionsIdTokenRequestToken, actionsIdTokenRequestUrl)
}