Dagger
Search

flakestry

Publish a flake from Github to flakestry.dev

Installation

dagger install github.com/tsirysndr/daggerverse/flakestry@1d85110f55dcf116f0a529a8cd57407fa599d760

Entrypoint

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

Types

Flakestry 🔗

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@1d85110f55dcf116f0a529a8cd57407fa599d760 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.
			Flakestry().
			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.flakestry()
		.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
		.flakestry()
		.publish(src, version, ref, ghToken, actionsIdTokenRequestToken, actionsIdTokenRequestUrl)
}