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
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
version | String ! | - | No description provided |
ref | String ! | - | No description provided |
ghToken | Secret ! | - | No description provided |
actionsIdTokenRequestToken | String ! | - | No description provided |
actionsIdTokenRequestUrl | String ! | - | No description provided |
url | String | "https://flakestry.dev" | No description provided |
ignoreConflicts | Boolean | false | No 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)
}