flakestry
Publish a flake from Github to flakestry.dev ❄️
Installation
dagger install github.com/tsirysndr/daggerverse/flakestry@631932b459d218e641dec8047085f0cc87cf5f1c
Entrypoint
Return Type
Flakestry
Example
dagger -m github.com/tsirysndr/daggerverse/flakestry@631932b459d218e641dec8047085f0cc87cf5f1c 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
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@631932b459d218e641dec8047085f0cc87cf5f1c 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)
}